36 lines
648 B
MySQL
36 lines
648 B
MySQL
|
INSERT INTO property (
|
||
|
id,
|
||
|
project_id,
|
||
|
realtor_id,
|
||
|
media,
|
||
|
property_type,
|
||
|
property_sale_type,
|
||
|
country,
|
||
|
city,
|
||
|
district,
|
||
|
price_usd,
|
||
|
rooms,
|
||
|
bathrooms,
|
||
|
area,
|
||
|
admin_tag,
|
||
|
time_created,
|
||
|
last_updated
|
||
|
) VALUES (
|
||
|
$1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $15
|
||
|
) RETURNING
|
||
|
id,
|
||
|
project_id,
|
||
|
realtor_id,
|
||
|
media as "media: _",
|
||
|
property_type as "property_type: _",
|
||
|
property_sale_type as "property_sale_type: _",
|
||
|
country,
|
||
|
city,
|
||
|
district,
|
||
|
price_usd,
|
||
|
rooms,
|
||
|
bathrooms,
|
||
|
area,
|
||
|
admin_tag,
|
||
|
time_created,
|
||
|
last_updated;
|