2023-03-18 12:00:06 +00:00
|
|
|
UPDATE agent SET
|
2023-03-19 14:18:11 +00:00
|
|
|
full_name = $1,
|
2023-04-14 18:42:52 +00:00
|
|
|
shortcode = $2,
|
|
|
|
credential = $3,
|
|
|
|
credential_type = $4,
|
|
|
|
profile_picture_url = $5,
|
|
|
|
last_updated = $6
|
|
|
|
WHERE id = $7
|
2023-03-18 12:00:06 +00:00
|
|
|
RETURNING
|
2023-03-19 14:18:11 +00:00
|
|
|
id,
|
2023-04-14 18:42:52 +00:00
|
|
|
shortcode,
|
2023-03-19 14:18:11 +00:00
|
|
|
full_name,
|
|
|
|
credential,
|
|
|
|
credential_type as "credential_type: _",
|
2023-03-19 15:40:22 +00:00
|
|
|
profile_picture_url,
|
2023-03-19 14:18:11 +00:00
|
|
|
time_created,
|
|
|
|
last_updated;
|