Skip to main content

max / makenotwork

748 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.removed_at IS NULL\n AND p.deleted_at IS NULL",
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": "d99816410918865cf778a04ad5c928a784c2ea40be45a32d7b4a30e139b4815a"
28 }
29