realtor-lp-backend/sql/property_arrangement/insert.sql

16 lines
295 B
SQL

INSERT INTO property_arrangement (
property_id,
price,
currency,
arrangement,
time_created,
last_updated
) VALUES (
$1, $2, $3, $4, $5, $5
) RETURNING
property_id,
price,
currency,
arrangement as "arrangement: _",
time_created,
last_updated;