137 lines
3.1 KiB
JSON
137 lines
3.1 KiB
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n DELETE FROM recurring_transactions\n WHERE id = $1\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"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
false,
|
|
false,
|
|
true
|
|
]
|
|
},
|
|
"hash": "be72d1cc51b27ae37afd44d85fe29e9226bcf428701dd931f9d03673729f11a2"
|
|
}
|