jl-backend-rs/sql/project/fetch_by_ids.sql

14 lines
234 B
MySQL
Raw Normal View History

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