2023-03-18 12:00:06 +00:00
|
|
|
UPDATE agent SET
|
2023-03-19 14:18:11 +00:00
|
|
|
full_name = $1,
|
|
|
|
credential = $2,
|
|
|
|
credential_type = $3,
|
2023-03-19 15:40:22 +00:00
|
|
|
profile_picture_url = $4,
|
|
|
|
last_updated = $5
|
|
|
|
WHERE id = $6
|
2023-03-18 12:00:06 +00:00
|
|
|
RETURNING
|
2023-03-19 14:18:11 +00:00
|
|
|
id,
|
|
|
|
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;
|