this repo has no description
1{
2 "db_name": "PostgreSQL",
3 "query": "SELECT\n u.id, u.did, u.handle, u.email,\n u.email_confirmation_code,\n u.email_confirmation_code_expires_at,\n u.preferred_notification_channel as \"channel: crate::notifications::NotificationChannel\",\n k.key_bytes, k.encryption_version\n FROM users u\n JOIN user_keys k ON u.id = k.user_id\n WHERE u.did = $1",
4 "describe": {
5 "columns": [
6 {
7 "ordinal": 0,
8 "name": "id",
9 "type_info": "Uuid"
10 },
11 {
12 "ordinal": 1,
13 "name": "did",
14 "type_info": "Text"
15 },
16 {
17 "ordinal": 2,
18 "name": "handle",
19 "type_info": "Text"
20 },
21 {
22 "ordinal": 3,
23 "name": "email",
24 "type_info": "Text"
25 },
26 {
27 "ordinal": 4,
28 "name": "email_confirmation_code",
29 "type_info": "Text"
30 },
31 {
32 "ordinal": 5,
33 "name": "email_confirmation_code_expires_at",
34 "type_info": "Timestamptz"
35 },
36 {
37 "ordinal": 6,
38 "name": "channel: crate::notifications::NotificationChannel",
39 "type_info": {
40 "Custom": {
41 "name": "notification_channel",
42 "kind": {
43 "Enum": [
44 "email",
45 "discord",
46 "telegram",
47 "signal"
48 ]
49 }
50 }
51 }
52 },
53 {
54 "ordinal": 7,
55 "name": "key_bytes",
56 "type_info": "Bytea"
57 },
58 {
59 "ordinal": 8,
60 "name": "encryption_version",
61 "type_info": "Int4"
62 }
63 ],
64 "parameters": {
65 "Left": [
66 "Text"
67 ]
68 },
69 "nullable": [
70 false,
71 false,
72 false,
73 true,
74 true,
75 true,
76 false,
77 false,
78 true
79 ]
80 },
81 "hash": "257aa21927a280477b9b59ad726a67a587a0164a38665594d4925b11bf2b260b"
82}