Closed 1ilit closed 1 month ago
Describe the bug Throws syntax error when the datatype is an ARRAY or is defined using [] and has a length
[]
Database Engine PostgreSQL
To Reproduce -the SQL that be parsed
CREATE TABLE "table_0" ( "hi" INTEGER ARRAY ); CREATE TABLE "table_1" ( "hi" INTEGER[3] );
-the node-sql-parser version v5.2.0 -the node version v20.11.0
Expected behavior Produce AST
Describe the bug Throws syntax error when the datatype is an ARRAY or is defined using
[]
and has a lengthDatabase Engine PostgreSQL
To Reproduce -the SQL that be parsed
-the node-sql-parser version v5.2.0 -the node version v20.11.0
Expected behavior Produce AST