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

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