sqlparser 0.2.0 copy "sqlparser: ^0.2.0" to clipboard
sqlparser: ^0.2.0 copied to clipboard

outdated

Parses sqlite statements and performs static analysis on them

0.2.0 #

  • Parse CREATE TABLE statements
  • Extract schema information from parsed create table statements with SchemaFromCreateTable.

0.1.2 #

  • parse COLLATE expressions
  • fix wrong order in parsed LIMIT clauses

0.1.1 #

Attempt to recognize when a bound variable should be an array (eg. in WHERE x IN ?). Also fixes a number of parsing bugs:

  • Parses tuples, proper type resolution for IN expressions
  • Don't resolve references to tables that don't appear in the surrounding statement.
  • Parse joins without any additional operator, e.g. table1 JOIN table2 instead of table1 CROSS JOIN table2.
  • Parser now complains when parsing a query doesn't fully consume the input

0.1.0 #

Initial version, can parse most statements but not DELETE, common table expressions and other advanced features.

29
likes
0
pub points
86%
popularity

Publisher

verified publishersimonbinder.eu

Parses sqlite statements and performs static analysis on them

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

collection, meta, source_span

More

Packages that depend on sqlparser