taozhi8833998 / node-sql-parser

Parse simple SQL statements into an abstract syntax tree (AST) with the visited tableList and convert it back to SQL

Home Page:https://taozhi8833998.github.io/node-sql-parser/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support CHECK constraints for column definitions in SQLite

1ilit opened this issue · comments

commented

Would be awesome to be able to parse CHECKs

Database Engine
SQLite

To Reproduce
-the SQL that be parsed

CREATE TABLE users (age INTEGER CHECK(age >= 18));

-the node-sql-parser version
v5.2.0
-the node version
v18.20.3

Expected behavior
Produce ast