pgsql-ast-parser
pgsql-ast-parser copied to clipboard
fix: allow qualifying tables & columns by database & schema
Fixes #165
I would have liked to have set up the interfaces so that if database is defined, then surely schema is defined, but it's not straightforward with TypeScript. Instead, there is a runtime check in the visitor in to-sql.ts that checks this.