You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The AST doesn't provide the original casing used for the literals NULL, CURRENT_DATE, CURRENT_TIME, and CURRENT_TIMESTAMP making it impossible to detect what the column name would be from just the AST.
You might be able to preserve the original case if we implement #33
But for now I would prefer to keep the memory footprint of the AST as low as possible.
Also the SQLite syntax is case-insensitive.
So your sentence:
making it impossible to detect what the column name would be from just the AST.
seems wrong to me.
sqlite> .headers on
sqlite> CREATE TABLE x(A);
sqlite> INSERT INTO x VALUES ('...');
sqlite> SELECT a FROM x;
A
...```
merceyz
changed the title
AST doesn't include the original casing of the CURRENT_* literals
AST doesn't include the original casing of the NULL and CURRENT_* literals
Aug 14, 2024
The AST doesn't provide the original casing used for the literals
NULL
,CURRENT_DATE
,CURRENT_TIME
, andCURRENT_TIMESTAMP
making it impossible to detect what the column name would be from just the AST.SQLite itself preserves the casing in the column name:
The text was updated successfully, but these errors were encountered: