Skip to main content

max / makenotwork

622 B · 24 lines History Blame Raw
1 {
2 "db_name": "PostgreSQL",
3 "query": "\n DELETE FROM transactions\n WHERE buyer_id = $1 AND item_id = $2 AND amount_cents = 0 AND status = 'completed'\n RETURNING promo_code_id AS \"promo_code_id: crate::db::PromoCodeId\"\n ",
4 "describe": {
5 "columns": [
6 {
7 "ordinal": 0,
8 "name": "promo_code_id: crate::db::PromoCodeId",
9 "type_info": "Uuid"
10 }
11 ],
12 "parameters": {
13 "Left": [
14 "Uuid",
15 "Uuid"
16 ]
17 },
18 "nullable": [
19 true
20 ]
21 },
22 "hash": "5fcb253fc99349b8e9d4b9ce7f7516611f073af529e2433c69f490da71704cd3"
23 }
24