24 lines
279 B
MySQL
24 lines
279 B
MySQL
|
INSERT INTO property (
|
||
|
id,
|
||
|
title,
|
||
|
description,
|
||
|
agent_id,
|
||
|
state,
|
||
|
time_created,
|
||
|
last_updated
|
||
|
) VALUES (
|
||
|
$1,
|
||
|
$2,
|
||
|
$3,
|
||
|
$4,
|
||
|
$5,
|
||
|
$6,
|
||
|
$6
|
||
|
) RETURNING
|
||
|
id,
|
||
|
title,
|
||
|
description,
|
||
|
agent_id,
|
||
|
state as "state: _",
|
||
|
time_created,
|
||
|
last_updated;
|