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

14 lines
184 B
MySQL
Raw Normal View History

2023-03-19 20:34:58 +00:00
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;