first version of postgres backend
[quassel.git] / src / core / SQL / PostgreSQL / 14 / select_checkidentity.sql
diff --git a/src/core/SQL/PostgreSQL/14/select_checkidentity.sql b/src/core/SQL/PostgreSQL/14/select_checkidentity.sql
new file mode 100644 (file)
index 0000000..8254f03
--- /dev/null
@@ -0,0 +1,3 @@
+SELECT count(*)
+FROM identity
+WHERE identityid = :identityid AND userid = :userid