realtor-lp-backend/sql/property/get_with_id.sql

20 lines
399 B
MySQL
Raw Normal View History

2023-05-03 18:19:39 +00:00
SELECT
id,
project_id,
realtor_id,
media as "media: _",
property_type as "property_type: _",
property_sale_type as "property_sale_type: _",
country,
city,
district,
order_index,
thumbnail_format as "thumbnail_format: _",
2023-05-03 18:19:39 +00:00
rooms,
bathrooms,
area,
parking_spots,
2023-05-03 18:19:39 +00:00
admin_tag,
time_created,
last_updated
FROM property WHERE id = $1;