sql-parser解析 mysql create table 语句,用于通过建表语句生成 model 代码文件。
PHP-Light-SQL-ParserThis class can parse SQL to get query type, tables, field values, etc.. It takes an string with a SQL statements and parses it to extract its different components. Currently the class can extract the SQL query method, the names of the tables involved in the query and the field values that are passed as parameters. This parser is pretty light re…
sqlfunModern SQL parser using Bison (Yacc) and Flex
lacquerSQL Parser derived from Presto, written in Python with the PLY framework
simple-ddl-parserSimple DDL Parser to parse SQL (HQL, TSQL, AWS Redshift, BigQuery, Snowflake and other dialects) ddl files to json/python dict with full information about columns: types, defaults, primary keys, etc. & table properties, types, domains, etc.
postgresql-parserPure Golang PostgreSQL (SQL:2011, SQL:2008, SQL:2003, SQL:1999, and SQL-92 Standard) Parser