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

11 lines
238 B
MySQL
Raw Normal View History

2023-03-09 17:45:16 +00:00
UPDATE property_details SET
meters = $1,
listing_type = $2,
photo_urls = $3,
location_id = $4
RETURNING
property_id,
meters,
listing_type as "listing_type: _",
photo_urls as "photo_urls: _",
location_id