launchql / pgsql-parser

PostgreSQL Query Parser for Node.js
MIT License
129 stars 23 forks source link

Parsed syntax tree missing "stmt_location" attribute #74

Closed acarl005 closed 2 years ago

acarl005 commented 2 years ago

The parsed syntax tree is missing the stmt_location attribute provided by the underlying libpg_query.

Here is an example from the ruby wrapper:

Screen Shot 2022-05-19 at 4 47 01 PM

I implemented the fix in #73