40 lines
769 B
SQL
40 lines
769 B
SQL
INSERT INTO property (
|
|
id,
|
|
project_id,
|
|
realtor_id,
|
|
media,
|
|
property_type,
|
|
property_sale_type,
|
|
country,
|
|
city,
|
|
district,
|
|
order_index,
|
|
thumbnail_format,
|
|
rooms,
|
|
bathrooms,
|
|
area,
|
|
parking_spots,
|
|
admin_tag,
|
|
time_created,
|
|
last_updated
|
|
) VALUES (
|
|
$1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $17
|
|
) RETURNING
|
|
id,
|
|
project_id,
|
|
realtor_id,
|
|
media as "media: _",
|
|
property_type as "property_type: _",
|
|
property_sale_type as "property_sale_type: _",
|
|
country,
|
|
city,
|
|
district,
|
|
order_index,
|
|
thumbnail_format as "thumbnail_format: _",
|
|
rooms,
|
|
bathrooms,
|
|
area,
|
|
parking_spots,
|
|
admin_tag,
|
|
time_created,
|
|
last_updated; |