Skip to main content

max / makenotwork

1.4 KB · 53 lines History Blame Raw
1 {
2 "db_name": "PostgreSQL",
3 "query": "SELECT id AS \"id: UserSessionId\", user_id AS \"user_id: UserId\",\n created_at AS \"created_at: chrono::DateTime<chrono::Utc>\",\n last_active_at AS \"last_active_at: chrono::DateTime<chrono::Utc>\",\n user_agent, ip_address\n FROM user_sessions\n WHERE user_id = $1\n ORDER BY last_active_at DESC\n LIMIT 100",
4 "describe": {
5 "columns": [
6 {
7 "ordinal": 0,
8 "name": "id: UserSessionId",
9 "type_info": "Uuid"
10 },
11 {
12 "ordinal": 1,
13 "name": "user_id: UserId",
14 "type_info": "Uuid"
15 },
16 {
17 "ordinal": 2,
18 "name": "created_at: chrono::DateTime<chrono::Utc>",
19 "type_info": "Timestamptz"
20 },
21 {
22 "ordinal": 3,
23 "name": "last_active_at: chrono::DateTime<chrono::Utc>",
24 "type_info": "Timestamptz"
25 },
26 {
27 "ordinal": 4,
28 "name": "user_agent",
29 "type_info": "Text"
30 },
31 {
32 "ordinal": 5,
33 "name": "ip_address",
34 "type_info": "Text"
35 }
36 ],
37 "parameters": {
38 "Left": [
39 "Uuid"
40 ]
41 },
42 "nullable": [
43 false,
44 false,
45 false,
46 false,
47 true,
48 true
49 ]
50 },
51 "hash": "fcafd68e251894069ce22ce0a034df5ee4fab7b296ba1da37fd90ded966c6de7"
52 }
53