{ "db_name": "PostgreSQL", "query": "\n SELECT\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 FROM recurring_transactions\n WHERE account_id IN (SELECT id FROM accessible_accounts($1))\n AND id = $2\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": "cb4d0185f7464e4c7e6f4e0cb6bc40be6a56076c88d8356bf034838f1e22f2e3" }