5 lines
115 B
MySQL
5 lines
115 B
MySQL
|
WITH
|
||
|
d AS (
|
||
|
DELETE FROM rlarp.osm_log WHERE id = replace_id RETURNING id
|
||
|
)
|
||
|
SELECT json_agg(row_to_json(d)) x from d
|