File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,10 +132,10 @@ Postgres.prototype.visit = function(node) {
132132 case 'DROP INDEX' : return this . visitDropIndex ( node ) ;
133133 case 'FUNCTION CALL' : return this . visitFunctionCall ( node ) ;
134134
135- case 'POSTFIX UNARY' : return this . visitPostfixUnary ( node ) ;
136- case 'PREFIX UNARY' : return this . visitPrefixUnary ( node ) ;
137- case 'BINARY' : return this . visitBinary ( node ) ;
138- case 'TERNARY' : return this . visitTernary ( node ) ;
135+ case 'POSTFIX UNARY' : return this . visitPostfixUnary ( node ) ;
136+ case 'PREFIX UNARY' : return this . visitPrefixUnary ( node ) ;
137+ case 'BINARY' : return this . visitBinary ( node ) ;
138+ case 'TERNARY' : return this . visitTernary ( node ) ;
139139
140140 case 'LIMIT' :
141141 case 'OFFSET' :
Original file line number Diff line number Diff line change 33var Node = require ( __dirname ) ;
44
55var OrderByColumn = Node . define ( {
6- type : 'ORDER BY COLUMN ' ,
6+ type : 'ORDER BY VALUE ' ,
77 constructor : function ( config ) {
88 Node . call ( this ) ;
99 this . value = config . value ;
You can’t perform that action at this time.
0 commit comments