We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See here:
https://github.com/pg-nano/pg-parser/blob/b2a027f/src/lib/ast.ts#L5509-L5520
BoolExpr args miss A_Const, but it's possible:
console.log(parseQuerySync('SELECT TRUE AND TRUE'), null, 2)) /* { "version": 160001, "stmts": [ { "stmt": { "SelectStmt": { "targetList": [ { "ResTarget": { "val": { "BoolExpr": { "boolop": "AND_EXPR", "args": [ { "A_Const": { "boolval": { "boolval": true }, "location": 7 } }, { "A_Const": { "boolval": { "boolval": true }, "location": 16 } } ], "location": 12 } }, "location": 7 } } ], "limitOption": "LIMIT_OPTION_DEFAULT", "op": "SETOP_NONE" } } } ] } */
The text was updated successfully, but these errors were encountered:
af71884
No branches or pull requests
See here:
https://github.com/pg-nano/pg-parser/blob/b2a027f/src/lib/ast.ts#L5509-L5520
BoolExpr args miss A_Const, but it's possible:
The text was updated successfully, but these errors were encountered: