FrostByte/server/.sqlx/query-3560895233b2af755be5c55ce01337fffccc32dc87a17a40c67c3c1c7e163e63.json
2024-03-06 08:08:41 +01:00

60 lines
1.2 KiB
JSON

{
"db_name": "PostgreSQL",
"query": "SELECT id, parent_post_id, upvotes, downvotes, content, created_at, updated_at\n FROM comments WHERE parent_post_id = $1 ORDER BY created_at DESC LIMIT $2 OFFSET $3",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Int4"
},
{
"ordinal": 1,
"name": "parent_post_id",
"type_info": "Int8"
},
{
"ordinal": 2,
"name": "upvotes",
"type_info": "Int4"
},
{
"ordinal": 3,
"name": "downvotes",
"type_info": "Int4"
},
{
"ordinal": 4,
"name": "content",
"type_info": "Text"
},
{
"ordinal": 5,
"name": "created_at",
"type_info": "Timestamp"
},
{
"ordinal": 6,
"name": "updated_at",
"type_info": "Timestamp"
}
],
"parameters": {
"Left": [
"Int8",
"Int8",
"Int8"
]
},
"nullable": [
false,
false,
false,
false,
false,
false,
false
]
},
"hash": "3560895233b2af755be5c55ce01337fffccc32dc87a17a40c67c3c1c7e163e63"
}