summaryrefslogtreecommitdiffstats
path: root/sql/group_insert.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql/group_insert.sql')
-rw-r--r--sql/group_insert.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/group_insert.sql b/sql/group_insert.sql
index 0989111..bbc79a9 100644
--- a/sql/group_insert.sql
+++ b/sql/group_insert.sql
@@ -1 +1 @@
-insert into :table: (server_id, name, type) values (:server_id:, :name:, :type:)
+insert into :table: (server_id, name, type) values (:server_id:, :name:, :type:) returning group_id as last_inserted_id