Skip to content

Fix missing ORDER BY direction when calling toString() on AST - #970

Merged
mathiasrw merged 1 commit into
AlaSQL:developfrom
alexpeattie:fix-missing-order-direction-from-ast
Jan 18, 2018
Merged

mathiasrw merged 1 commit into
AlaSQL:developfrom
alexpeattie:fix-missing-order-direction-from-ast

Conversation

@alexpeattie

Copy link
Copy Markdown
Contributor

Closes #965

An ORDER BY statement is a yy.Expression which has a direction and expression property:

screen shot 2018-01-17 at 11 40 43

But direction was previously ignored by yy.Expression.toString().

@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #970 into develop will increase coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop    #970      +/-   ##
==========================================
+ Coverage    67.16%   67.2%   +0.04%     
==========================================
  Files            1       1              
  Lines        10489   10491       +2     
  Branches      3134    3135       +1     
==========================================
+ Hits          7045    7051       +6     
+ Misses        3444    3440       -4
Impacted Files Coverage Δ
dist/alasql.fs.js 67.2% <100%> (+0.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d997e41...283d522. Read the comment docs.

@mathiasrw

Copy link
Copy Markdown
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants