jl-backend-rs/sql/agent/insert.sql

13 lines
312 B
MySQL
Raw Normal View History

INSERT INTO agent (
2023-04-14 18:42:52 +00:00
id, shortcode, full_name, credential, credential_type, profile_picture_url, time_created, last_updated
) VALUES (
2023-04-14 18:42:52 +00:00
$1, $2, $3, $4, $5, $6, $7, $7
) RETURNING
id,
2023-04-14 20:46:35 +00:00
shortcode,
full_name,
credential,
credential_type as "credential_type: _",
profile_picture_url,
time_created,
last_updated;