pgsql-ast-parser
pgsql-ast-parser copied to clipboard
Yet another simple Postgres SQL parser
Fixes #91
First attempt to fix #76; I went for more similarity to the existing `BEGIN` statement. Please advise if I missed something, or if I've misunderstood the instructions.
`begin; set transaction isolation level repeatable read, read only; commit;` fail to parse. With some pointers, I'd love to contribute a PR for this, if you're open to accepting it....
Hey, First of all, thanks a lot for this library. The great typescript ast you get from this library is why I've had a really easy time getting started with...
It seems like when using the `RECURSIVE` function, other WITH statements are not allowed any longer. This issue does not happen when I only use WITH statements which have no...
I'm trying the library int he browser but it seems that a bunch of the regexes are not compatible with Safari and I get the error above while trying to...
Using ```typescript import { parse, Statement } from 'pgsql-ast-parser'; const ast: Statement[] = parse(` BEGIN TRANSACTION; CREATE TABLE "foo" ( "biz_name" character varying NOT NULL ); CREATE TABLE "bar" (...
Hello Olivier, Hope you're doing well. We're getting back to the project of fully pushing in-memory database for the Greenly project. Right now, the definition of operators is restrictive in...
Hello, I want to use `pgsql-ast-parser` to validate SQL files in my project. I noticed that the clauses [`DEFERRABLE INITIALLY IMMEDIATE` or `DEFERRABLE INITIALLY DEFERRED`](https://www.postgresql.org/docs/current/sql-createtable.html) that control constraint application in...
I am happy to create a PR but I am a bit confused how to modify the expr.ne to add the new operator. If you provide a little bit of...