Add delete to handlers

CURA-6096
This commit is contained in:
Jaime van Kessel 2021-08-27 14:36:04 +02:00
parent 55d6ff0e61
commit 3191baf5a0
3 changed files with 6 additions and 3 deletions

View file

@ -18,7 +18,8 @@ class IntentDatabaseHandler(DatabaseMetadataContainerController):
setting_version = ?
WHERE id = ?
""",
select_query = "SELECT * FROM intents where id = ?",
select_query = "SELECT * FROM intents WHERE id = ?",
delete_query = "DELETE FROM intents WHERE id = ?",
table_query="""CREATE TABLE intents
(
id text,