{ "db_name": "PostgreSQL", "query": "\n DELETE FROM recurring_transactions\n WHERE account_id IN (SELECT id FROM accessible_accounts($1))\n AND id = $2\n RETURNING\n id,\n name,\n account_id,\n amount_cents,\n direction,\n starts_at,\n ends_at,\n recurrence_every,\n recurrence_unit,\n weekend_adjustment\n ", "describe": { "columns": [ { "ordinal": 0, "name": "id", "type_info": "Uuid", "origin": { "Table": { "table": "recurring_transactions", "name": "id" } } }, { "ordinal": 1, "name": "name", "type_info": "Text", "origin": { "Table": { "table": "recurring_transactions", "name": "name" } } }, { "ordinal": 2, "name": "account_id", "type_info": "Uuid", "origin": { "Table": { "table": "recurring_transactions", "name": "account_id" } } }, { "ordinal": 3, "name": "amount_cents", "type_info": "Int8", "origin": { "Table": { "table": "recurring_transactions", "name": "amount_cents" } } }, { "ordinal": 4, "name": "direction", "type_info": "Text", "origin": { "Table": { "table": "recurring_transactions", "name": "direction" } } }, { "ordinal": 5, "name": "starts_at", "type_info": "Timestamptz", "origin": { "Table": { "table": "recurring_transactions", "name": "starts_at" } } }, { "ordinal": 6, "name": "ends_at", "type_info": "Timestamptz", "origin": { "Table": { "table": "recurring_transactions", "name": "ends_at" } } }, { "ordinal": 7, "name": "recurrence_every", "type_info": "Int4", "origin": { "Table": { "table": "recurring_transactions", "name": "recurrence_every" } } }, { "ordinal": 8, "name": "recurrence_unit", "type_info": "Text", "origin": { "Table": { "table": "recurring_transactions", "name": "recurrence_unit" } } }, { "ordinal": 9, "name": "weekend_adjustment", "type_info": "Text", "origin": { "Table": { "table": "recurring_transactions", "name": "weekend_adjustment" } } } ], "parameters": { "Left": [ "Uuid", "Uuid" ] }, "nullable": [ false, false, false, false, false, false, true, false, false, true ] }, "hash": "590bd11fc994d0d22bb238ff7c140b1c48c4e31c34c18505c1d2a6aad01ddcdd" }