11 releases
Uses old Rust 2015
0.0.11 | Feb 5, 2020 |
---|---|
0.0.10 | Dec 9, 2019 |
0.0.9 | Aug 21, 2019 |
0.0.7 | Jul 16, 2019 |
0.0.3 | Apr 16, 2018 |
#1936 in Parser implementations
103 downloads per month
Used in 7 crates
(6 directly)
230KB
6K
SLoC
nom-sql
An incomplete Rust SQL parser written using nom.
This parser is a work in progress. It currently supports:
- most
CREATE TABLE
queries; - most
INSERT
queries; - simple
SELECT
queries; - simple
UPDATE
queries; and - simple
DELETE
queries.
We try to support both the SQLite and MySQL syntax; where they disagree, we choose MySQL. (It would be nice to support both via feature flags in the future.)
Dependencies
~1.2–2MB
~41K SLoC