2023-05-04 18:48:50 +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,
|
2023-05-08 17:22:36 +00:00
|
|
|
order_index,
|
|
|
|
thumbnail_format as "thumbnail_format: _",
|
2023-05-04 18:48:50 +00:00
|
|
|
rooms,
|
|
|
|
bathrooms,
|
|
|
|
area,
|
2023-05-08 17:22:36 +00:00
|
|
|
parking_spots,
|
2023-05-04 18:48:50 +00:00
|
|
|
admin_tag,
|
|
|
|
time_created,
|
|
|
|
last_updated
|
2023-05-08 17:22:36 +00:00
|
|
|
FROM property WHERE realtor_id = $1
|
|
|
|
ORDER BY time_created DESC
|
|
|
|
LIMIT 25 OFFSET $2;
|