15 lines
305 B
SQL
15 lines
305 B
SQL
UPDATE agent SET
|
|
full_name = $1,
|
|
credential = $2,
|
|
credential_type = $3,
|
|
profile_picture_url = $4,
|
|
last_updated = $5
|
|
WHERE id = $6
|
|
RETURNING
|
|
id,
|
|
full_name,
|
|
credential,
|
|
credential_type as "credential_type: _",
|
|
profile_picture_url,
|
|
time_created,
|
|
last_updated; |