File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ grammar =
153
153
]
154
154
155
155
BetweenExpression : [
156
- o ' Expression CONDITIONAL Expression' , -> new BetweenOp ($1, $3)
156
+ o ' Expression CONDITIONAL Expression' , -> new BetweenOp ([ $1, $3] )
157
157
]
158
158
159
159
SubSelectExpression : [
Original file line number Diff line number Diff line change @@ -151,8 +151,8 @@ exports.UnaryOp = class UnaryOp
151
151
toString : -> " (#{ @operator .toUpperCase ()} #{ @operand } )"
152
152
153
153
exports .BetweenOp = class BetweenOp
154
- constructor : (@min , @max ) -> null
155
- toString : -> " #{ @min } AND #{ @max } "
154
+ constructor : (@value ) -> null
155
+ toString : -> " #{ @value . join ( ' AND ' ) } "
156
156
157
157
exports .Field = class Field
158
158
constructor : (@field , @name = null ) -> null
You can’t perform that action at this time.
0 commit comments