jl-backend-rs/sql/unit/get_with_id.sql
2023-03-19 16:34:58 -04:00

14 lines
184 B
SQL

SELECT
id,
project_id,
price_usd,
unit_type as "unit_type: _",
rooms,
bathrooms,
area,
description,
media as "media: _",
admin_tag,
time_created,
last_updated
FROM unit WHERE id = $1;