• Stars
    star
    231
  • Rank 172,836 (Top 4 %)
  • Language
    Rust
  • License
    MIT License
  • Created almost 8 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Rust SQL parser written using nom

nom-sql

Build Status

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.)