2023-11-05 20:04:26 +01:00
|
|
|
{
|
2023-11-14 08:40:45 +01:00
|
|
|
"db_name": "PostgreSQL",
|
2023-12-18 15:06:19 +01:00
|
|
|
"query": "SELECT id, content, upvotes, downvotes, created_at, updated_at FROM posts ORDER BY created_at DESC LIMIT $1 OFFSET $2",
|
2023-11-05 20:04:26 +01:00
|
|
|
"describe": {
|
|
|
|
"columns": [
|
|
|
|
{
|
|
|
|
"ordinal": 0,
|
2023-11-14 08:40:45 +01:00
|
|
|
"name": "id",
|
|
|
|
"type_info": "Int8"
|
2023-11-05 20:04:26 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"ordinal": 1,
|
2023-11-14 08:40:45 +01:00
|
|
|
"name": "content",
|
2023-11-05 20:04:26 +01:00
|
|
|
"type_info": "Text"
|
|
|
|
},
|
|
|
|
{
|
2023-12-18 15:06:19 +01:00
|
|
|
"ordinal": 2,
|
2023-11-14 08:40:45 +01:00
|
|
|
"name": "upvotes",
|
|
|
|
"type_info": "Int4"
|
2023-11-05 20:04:26 +01:00
|
|
|
},
|
|
|
|
{
|
2023-12-18 15:06:19 +01:00
|
|
|
"ordinal": 3,
|
2023-11-14 08:40:45 +01:00
|
|
|
"name": "downvotes",
|
|
|
|
"type_info": "Int4"
|
2023-11-05 20:04:26 +01:00
|
|
|
},
|
|
|
|
{
|
2023-12-18 15:06:19 +01:00
|
|
|
"ordinal": 4,
|
2023-11-14 08:40:45 +01:00
|
|
|
"name": "created_at",
|
|
|
|
"type_info": "Timestamp"
|
2023-11-05 20:04:26 +01:00
|
|
|
},
|
|
|
|
{
|
2023-12-18 15:06:19 +01:00
|
|
|
"ordinal": 5,
|
2023-11-14 08:40:45 +01:00
|
|
|
"name": "updated_at",
|
|
|
|
"type_info": "Timestamp"
|
2023-11-05 20:04:26 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"parameters": {
|
2023-11-14 08:40:45 +01:00
|
|
|
"Left": [
|
2023-12-18 15:06:19 +01:00
|
|
|
"Int8",
|
2023-11-14 08:40:45 +01:00
|
|
|
"Int8"
|
|
|
|
]
|
2023-11-05 20:04:26 +01:00
|
|
|
},
|
|
|
|
"nullable": [
|
|
|
|
false,
|
|
|
|
false,
|
|
|
|
false,
|
|
|
|
false,
|
|
|
|
false,
|
|
|
|
false
|
|
|
|
]
|
|
|
|
},
|
2023-12-18 15:06:19 +01:00
|
|
|
"hash": "2ec6780ea09d3cd14aeb87aeb97d93ff9a46e71d75f7e00d6c990fd3585ed866"
|
2023-11-05 20:04:26 +01:00
|
|
|
}
|