Skip to main content

max / makenotwork

479 B · 23 lines History Blame Raw
1 {
2 "db_name": "PostgreSQL",
3 "query": "SELECT COALESCE(SUM(amount_cents), 0)::BIGINT AS \"total!\" FROM tips WHERE recipient_id = $1 AND status = 'completed'",
4 "describe": {
5 "columns": [
6 {
7 "ordinal": 0,
8 "name": "total!",
9 "type_info": "Int8"
10 }
11 ],
12 "parameters": {
13 "Left": [
14 "Uuid"
15 ]
16 },
17 "nullable": [
18 null
19 ]
20 },
21 "hash": "1b173822c0dfe66ea3bb9ae1aea044cb353aaeab38da1e015629fe1b571d19bd"
22 }
23