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

10 lines
209 B
MySQL
Raw Normal View History

SELECT
id,
full_name,
credential,
credential_type as "credential_type: _",
profile_picture_url,
time_created,
last_updated
FROM agent where id = ANY($1)
ORDER BY time_created DESC;