pgsql-ast-parser
Advanced tools
Comparing version 3.0.2 to 3.0.3
{ | ||
"name": "pgsql-ast-parser", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Yet another simple Postgres SQL parser/modifier", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -26,2 +26,13 @@ import 'mocha'; | ||
// bugfix | ||
checkSelect(['select 42 as primary'], { | ||
type: 'select', | ||
columns: [{ | ||
expr: { | ||
type: 'integer', | ||
value: 42 | ||
}, | ||
alias: 'primary', | ||
}], | ||
}); | ||
checkSelect(['select count(*)'], { | ||
@@ -28,0 +39,0 @@ type: 'select', |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
968157
10648