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
Using sqlite3, I created a table named "test-table" like this:
CREATE TABLE IF NOT EXISTS "test-table"(id INT PRIMARY KEY, name TEXT);
INSERT INTO "test-table" VALUES(1,'pcoccoli');
COMMIT;
When I open it in Sequeler, I get error popup that says near "-": syntax error
I can see the structure of the table in the GUI, but clicking the "Content" button shows the same error.
I assume that the code is not wrapping the table name in double quotes. All identifiers should be wrapped in double quotes when using sqlite3. See https://www.sqlite.org/lang_keywords.html for more information about quoting.
The text was updated successfully, but these errors were encountered:
I get error near "values": syntax error when opening an SQLite database with the values table. Looks like the same issue.
I guess you should add quotes to entity names in internal SQL queries, so that they don't mess up with keywords.
Using sqlite3, I created a table named "test-table" like this:
When I open it in Sequeler, I get error popup that says
near "-": syntax error
I can see the structure of the table in the GUI, but clicking the "Content" button shows the same error.
I assume that the code is not wrapping the table name in double quotes. All identifiers should be wrapped in double quotes when using sqlite3. See https://www.sqlite.org/lang_keywords.html for more information about quoting.
The text was updated successfully, but these errors were encountered: