jl-backend-rs/sql/project/fetch_by_ids.sql
2023-03-19 11:21:15 -04:00

16 lines
284 B
SQL

SELECT
id,
project_state as "project_state: _",
project_type as "project_type: _",
project_condition as "project_condition: _",
agent_id,
location_id,
title,
description,
admin_tag,
finish_date,
floors,
media as "media: _",
time_created,
last_updated
FROM project WHERE id = ANY($1);