summaryrefslogtreecommitdiffstats
path: root/sql/message_insert.sql
blob: 40f6e78276c0a4f840ec656ae54078f122c80c6d (plain) (blame)
1
insert into messages (server_id, message_from_client_id, message_from_client_uid, message_to_client_id, message_subject, message_msg, message_timestamp) values (:server_id:, :message_from_client_id:, :message_from_client_uid:, :message_to_client_id:, :message_subject:, :message_msg:, :message_timestamp:) returning message_id as last_inserted_id