summaryrefslogtreecommitdiffstats
path: root/sql/client_insert.sql
blob: a5c6d909cbec9fe6baf9227124eaf9e4b355b546 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
insert into clients
( server_id,
  client_unique_id,
  client_nickname,
  client_lastconnected)
VALUES 
( :server_id:,
  :client_unique_id:,
  :client_nickname:,
  :client_lastconnected:)
RETURNING
  client_id AS last_inserted_id;