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

12 lines
286 B
SQL

INSERT INTO agent (
id, full_name, credential, credential_type, profile_picture_url, time_created, last_updated
) VALUES (
$1, $2, $3, $4, $5, $6, $6
) RETURNING
id,
full_name,
credential,
credential_type as "credential_type: _",
profile_picture_url,
time_created,
last_updated;