summaryrefslogblamecommitdiffstats
path: root/sql/channel_insert.sql
blob: 0cc7fd47abf250e2dd410e93bcd37e1af6f91978 (plain) (tree)
1
2
3
4
5
6
7
8




                      


                                 
insert into channels
( server_id,
  channel_parent_id ) 
VALUES 
( :server_id:,
  :parent_id: )
RETURNING
  channel_id AS last_inserted_id;