ms705 / nom-sql

Rust SQL parser written using nom
MIT License
232 stars 41 forks source link

Feature: support comment on CREATE statements #17

Closed greizgh closed 6 years ago

greizgh commented 6 years ago

Right now parsing a CREATE TABLE statement will fail:

Exemple:

CREATE TABLE withcomments (
...
field VARCHAR(100) COMMENT 'some field',
...
) COMMENT='table description';

It would be nice to support those. I'm not yet really familiar with nom, but I would gladly help on this feature.