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
Describe the bug astify() throws syntax error on custom type in quotes in PostgreSQL
astify()
Database Engine PostgreSQL
To Reproduce -the SQL that be parsed This is ok
CREATE TYPE "Gender" AS ENUM ('F', 'M', 'U'); CREATE TABLE "User" ( "gender" Gender NOT NULL );
This throws an error
CREATE TYPE "Gender" AS ENUM ('F', 'M', 'U'); CREATE TABLE "User" ( "gender" "Gender" NOT NULL );
-the node-sql-parser version v5.3.0 -the node version v18.20.3
Expected behavior Produce ast
Additional context https://stackblitz.com/edit/stackblitz-starters-9dpxty?file=index.js
The text was updated successfully, but these errors were encountered:
@1ilit fixed
Sorry, something went wrong.
taozhi8833998
Successfully merging a pull request may close this issue.
Describe the bug
astify()
throws syntax error on custom type in quotes in PostgreSQLDatabase Engine
PostgreSQL
To Reproduce
-the SQL that be parsed
This is ok
This throws an error
-the node-sql-parser version
v5.3.0
-the node version
v18.20.3
Expected behavior
Produce ast
Additional context
https://stackblitz.com/edit/stackblitz-starters-9dpxty?file=index.js
The text was updated successfully, but these errors were encountered: