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

18 lines
271 B
MySQL
Raw Normal View History

2023-03-09 17:45:16 +00:00
INSERT INTO property_details (
property_id,
meters,
listing_type,
photo_urls,
location_id,
) VALUES (
$1,
$2,
$3,
$4,
$5
) RETURNING
property_id,
meters,
listing_type as "listing_type: _",
photo_urls as "photo_urls: _",
location_id