nene / sql-parser-cst

Parses SQL into Concrete Syntax Tree (CST)
GNU General Public License v2.0
115 stars 7 forks source link

Unicode identifiers are not supported in SQLite #45

Closed kemisstep closed 5 months ago

kemisstep commented 6 months ago

中文字段不支持,需要加 ``

nene commented 6 months ago

Mul on väga kahju, aga minu hiina keele oskus jätab tublisti soovida. Ole palun nii hea ja kirjuta järgmine kord inglise keeles.

kemisstep commented 6 months ago

like this will error

Syntax Error: Unexpected

image

nene commented 6 months ago

Thanks for the clarification.

It seems that SQLite indeed supports unicode identifiers. Unfortunately SQLite documentation doesn't seem to contain any information about the syntax of supported identifiers.

Should be simple to fix though as I've already implemented unicode identifier support for MySQL, MariaDB and PostgreSQL.