forked from
tranquil.farm/tranquil-pds
Our Personal Data Server from scratch!
1{
2 "db_name": "PostgreSQL",
3 "query": "\n SELECT\n u.did,\n u.handle,\n d.granted_scopes,\n d.granted_at\n FROM account_delegations d\n JOIN users u ON u.did = d.delegated_did\n WHERE d.controller_did = $1\n AND d.revoked_at IS NULL\n AND u.deactivated_at IS NULL\n AND u.takedown_ref IS NULL\n ORDER BY d.granted_at DESC\n ",
4 "describe": {
5 "columns": [
6 {
7 "ordinal": 0,
8 "name": "did",
9 "type_info": "Text"
10 },
11 {
12 "ordinal": 1,
13 "name": "handle",
14 "type_info": "Text"
15 },
16 {
17 "ordinal": 2,
18 "name": "granted_scopes",
19 "type_info": "Text"
20 },
21 {
22 "ordinal": 3,
23 "name": "granted_at",
24 "type_info": "Timestamptz"
25 }
26 ],
27 "parameters": {
28 "Left": [
29 "Text"
30 ]
31 },
32 "nullable": [
33 false,
34 false,
35 false,
36 false
37 ]
38 },
39 "hash": "86b71d258449644a1b35449d7411d7c28e9ef8ac09a1d4dc5e48db21f2d4c604"
40}