56 lines
1 KiB
JSON
56 lines
1 KiB
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "SELECT * FROM posts WHERE id = (SELECT MAX(id) FROM posts)",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "id",
|
|
"type_info": "Int8"
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "user_id",
|
|
"type_info": "Int8"
|
|
},
|
|
{
|
|
"ordinal": 2,
|
|
"name": "content",
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"ordinal": 3,
|
|
"name": "upvotes",
|
|
"type_info": "Int4"
|
|
},
|
|
{
|
|
"ordinal": 4,
|
|
"name": "downvotes",
|
|
"type_info": "Int4"
|
|
},
|
|
{
|
|
"ordinal": 5,
|
|
"name": "created_at",
|
|
"type_info": "Timestamp"
|
|
},
|
|
{
|
|
"ordinal": 6,
|
|
"name": "updated_at",
|
|
"type_info": "Timestamp"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": []
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false
|
|
]
|
|
},
|
|
"hash": "1cff76615ce5fb26bd9fbb23cbe4a204ddf3d75be6666fca3624deb35c0aaa97"
|
|
}
|