summaryrefslogtreecommitdiff
path: root/src/sql/entityInsert.sql
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2026-04-18 01:00:42 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2026-04-18 01:00:42 +0100
commit7b148411b127ebf6fdefdb1b0decd2886cdfc17b (patch)
tree56385615fe86dbb5ab7ce4a90d696d97ddf21d7e /src/sql/entityInsert.sql
parent1e551e618a63c869fde6a4b327566b38696a5f45 (diff)
parentfa6074eaf52be4254c17b74f20193aa96c940df8 (diff)
downloadwebstat-7b148411b127ebf6fdefdb1b0decd2886cdfc17b.tar.bz2
webstat-7b148411b127ebf6fdefdb1b0decd2886cdfc17b.tar.xz
webstat-7b148411b127ebf6fdefdb1b0decd2886cdfc17b.zip
Merge remote-tracking branch 'origin/no-crc32'HEADwebstat-0.4main
Diffstat (limited to 'src/sql/entityInsert.sql')
-rw-r--r--src/sql/entityInsert.sql6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/sql/entityInsert.sql b/src/sql/entityInsert.sql
index 8e25810..f518617 100644
--- a/src/sql/entityInsert.sql
+++ b/src/sql/entityInsert.sql
@@ -1,4 +1,2 @@
-INSERT INTO entities(id, type, value)
- VALUES (?, ?, ?)
-ON CONFLICT
- DO NOTHING
+SELECT
+ entity(?, ?)