-
Notifications
You must be signed in to change notification settings - Fork 0
/
sqlx-data.json
118 lines (118 loc) · 2.67 KB
/
sqlx-data.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"db": "PostgreSQL",
"15496edb22ae3fbf890f9b188114cf24769a86139b47603b21c2a38a37c9b498": {
"describe": {
"columns": [
{
"name": "user_id",
"ordinal": 0,
"type_info": "Uuid"
}
],
"nullable": [
false
],
"parameters": {
"Left": [
"Text",
"Text",
"Text"
]
}
},
"query": "insert into \"user\" (username, email, password_hash) values ($1, $2, $3) returning user_id"
},
"535eb52f59d0566ae404250215e2dc0989e89828688ff67e6e8e23de803c7752": {
"describe": {
"columns": [
{
"name": "user_id",
"ordinal": 0,
"type_info": "Uuid"
},
{
"name": "email",
"ordinal": 1,
"type_info": "Text"
},
{
"name": "username",
"ordinal": 2,
"type_info": "Text"
},
{
"name": "password_hash",
"ordinal": 3,
"type_info": "Text"
}
],
"nullable": [
false,
false,
false,
false
],
"parameters": {
"Left": [
"Text"
]
}
},
"query": "\n select user_id, email, username, password_hash \n from \"user\" where email = $1\n "
},
"5fe42095aec9a5043364fefcae5ea7abbda6b0137b1d14b75c5539a44fc9fc25": {
"describe": {
"columns": [
{
"name": "email",
"ordinal": 0,
"type_info": "Text"
},
{
"name": "username",
"ordinal": 1,
"type_info": "Text"
}
],
"nullable": [
false,
false
],
"parameters": {
"Left": [
"Text",
"Text",
"Text",
"Uuid"
]
}
},
"query": "\n update \"user\"\n set email = coalesce($1, \"user\".email),\n username = coalesce($2, \"user\".username),\n password_hash = coalesce($3, \"user\".password_hash)\n where user_id = $4\n returning email, username\n "
},
"95ed4c57521f2917855a598a94458b17ca6e90a4ba880aba42507d6aede77a18": {
"describe": {
"columns": [
{
"name": "email",
"ordinal": 0,
"type_info": "Text"
},
{
"name": "username",
"ordinal": 1,
"type_info": "Text"
}
],
"nullable": [
false,
false
],
"parameters": {
"Left": [
"Uuid"
]
}
},
"query": "select email, username from \"user\" where user_id = $1"
}
}