remax-backend-rs/sql/property_details/fetch_with_ids.sql

7 lines
157 B
SQL

SELECT
property_id,
meters,
listing_type as "listing_type: _",
photo_urls as "photo_urls: _",
location_id
FROM property_details where property_id = ANY($1);