first version of postgres backend
[quassel.git] / src / core / SQL / PostgreSQL / 14 / select_networks_for_user.sql
diff --git a/src/core/SQL/PostgreSQL/14/select_networks_for_user.sql b/src/core/SQL/PostgreSQL/14/select_networks_for_user.sql
new file mode 100644 (file)
index 0000000..08855c9
--- /dev/null
@@ -0,0 +1,5 @@
+SELECT networkid, networkname, identityid, servercodec, encodingcodec, decodingcodec,
+       userandomserver, perform, useautoidentify, autoidentifyservice, autoidentifypassword,
+       useautoreconnect, autoreconnectinterval, autoreconnectretries, unlimitedconnectretries, rejoinchannels
+FROM network
+WHERE userid = :userid
\ No newline at end of file