2023-03-18 12:00:06 +00:00
|
|
|
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
|
2023-03-18 12:00:06 +00:00
|
|
|
) VALUES (
|
2023-04-14 18:42:52 +00:00
|
|
|
$1, $2, $3, $4, $5, $6, $7, $7
|
2023-03-18 12:00:06 +00:00
|
|
|
) RETURNING
|
|
|
|
id,
|
2023-04-14 20:46:35 +00:00
|
|
|
shortcode,
|
2023-03-18 12:00:06 +00:00
|
|
|
full_name,
|
|
|
|
credential,
|
|
|
|
credential_type as "credential_type: _",
|
2023-03-19 15:40:22 +00:00
|
|
|
profile_picture_url,
|
2023-03-18 12:00:06 +00:00
|
|
|
time_created,
|
|
|
|
last_updated;
|