summaryrefslogtreecommitdiff
path: root/src/sql/entityInsert.sql
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-08-23 16:52:38 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2025-08-25 16:02:31 +0100
commit2db6c4f42a20c0c2a9b32545f4d6fab90be2c26d (patch)
tree707c732b2229c0cfff8a96d134eb144a32703374 /src/sql/entityInsert.sql
parentd3117520013d7ee0268e73cf8aaf3fb02e631a42 (diff)
downloadwebstat-2db6c4f42a20c0c2a9b32545f4d6fab90be2c26d.tar.bz2
webstat-2db6c4f42a20c0c2a9b32545f4d6fab90be2c26d.tar.xz
webstat-2db6c4f42a20c0c2a9b32545f4d6fab90be2c26d.zip
Add helpers and SQL for storing an entity
Diffstat (limited to 'src/sql/entityInsert.sql')
-rw-r--r--src/sql/entityInsert.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sql/entityInsert.sql b/src/sql/entityInsert.sql
new file mode 100644
index 0000000..ac443e3
--- /dev/null
+++ b/src/sql/entityInsert.sql
@@ -0,0 +1 @@
+INSERT INTO entities(id, value) VALUES(?, ?) ON CONFLICT DO NOTHING