6 lines
188 B
MySQL
6 lines
188 B
MySQL
|
INSERT INTO view (
|
||
|
id, thing_id, thing_pk, trackable_id, time_created
|
||
|
) VALUES (
|
||
|
$1, $2, $3, $4, $5
|
||
|
) RETURNING
|
||
|
id, thing_id, thing_pk as "thing_pk: _", trackable_id, time_created
|