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

11 lines
240 B
SQL

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