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

13 lines
250 B
MySQL
Raw Normal View History

UPDATE agent SET
full_name = $1,
credential = $2,
credential_type = $3,
last_updated = $4
WHERE id = $5
RETURNING
id,
full_name,
credential,
credential_type as "credential_type: _",
time_created,
last_updated;