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

16 lines
339 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 = $1;