Skip to main content

max / makenotwork

700 B · 29 lines History Blame Raw
1 {
2 "db_name": "PostgreSQL",
3 "query": "SELECT COUNT(p.id) AS \"count!\", MAX(p.created_at) AS \"max_created: chrono::DateTime<chrono::Utc>\"\n FROM posts p\n WHERE p.thread_id = $1\n AND p.is_active",
4 "describe": {
5 "columns": [
6 {
7 "ordinal": 0,
8 "name": "count!",
9 "type_info": "Int8"
10 },
11 {
12 "ordinal": 1,
13 "name": "max_created: chrono::DateTime<chrono::Utc>",
14 "type_info": "Timestamptz"
15 }
16 ],
17 "parameters": {
18 "Left": [
19 "Uuid"
20 ]
21 },
22 "nullable": [
23 null,
24 null
25 ]
26 },
27 "hash": "c5f10fc91f3919a8d29588de1fefc5e57e3a928949f91ce1340c6c2b37faec62"
28 }
29