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
Describe the bug
When performing queries such as UPDATE or INSERT using the GUI, errors occur because by default Antares does not apply quotation marks to table or column names that have hyphens in their name.
Message: SqliteError: near "-" : syntax error
This can be corrected manually by putting the quotes and executing the query.
To Reproduce
Insert a new row into a table with column names that have hyphens in their name using the GUI tool.
Go to 'Insert rows'
Fill the data to be inserted
Click "insert"
See error
Expected behavior
The query should run without errors, as long as table or column names with hyphens in the name are enclosed in quotation marks.
Screenshots
Screenshots are attached.
Example with quotation marks:
Application (please complete the following information):
App client: Antares
App version: 0.7.29
Installation source: Snap
Environment (please complete the following information):
OS name: Ubuntu 24.04 x86_64 Linux kernel 6.8.0-48-generic
DB name: SQLite
DB version: 3.45.1
The text was updated successfully, but these errors were encountered:
Describe the bug
When performing queries such as UPDATE or INSERT using the GUI, errors occur because by default Antares does not apply quotation marks to table or column names that have hyphens in their name.
Message: SqliteError: near "-" : syntax error
This can be corrected manually by putting the quotes and executing the query.
To Reproduce
Insert a new row into a table with column names that have hyphens in their name using the GUI tool.
Expected behavior
The query should run without errors, as long as table or column names with hyphens in the name are enclosed in quotation marks.
Screenshots
Screenshots are attached.
Example with quotation marks:
Application (please complete the following information):
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: