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

10 lines
199 B
SQL

SELECT
id,
shortcode,
full_name,
credential,
credential_type as "credential_type: _",
profile_picture_url,
time_created,
last_updated
FROM agent where shortcode = $1;