Files
my-website-v2/backend/public/.sqlx/query-24f4b8dd651c57a8cab3ffc2fae9bfe4cb276521854b2a0a0fba2e7081093421.json
T

68 lines
1.5 KiB
JSON
Raw Normal View History

2025-07-19 15:13:53 -04:00
{
"db_name": "PostgreSQL",
"query": "SELECT p.post_id, p.author_id, a.first_name, a.last_name, p.title, p.body, p.body_gemtext, p.created_at, p.publish_date FROM posts p LEFT JOIN authors a ON a.author_id = p.author_id WHERE p.deleted_at IS NULL AND p.is_featured IS true GROUP BY p.post_id, a.first_name, a.last_name ORDER BY p.created_at DESC LIMIT 3",
2025-07-19 15:13:53 -04:00
"describe": {
"columns": [
{
"ordinal": 0,
"name": "post_id",
"type_info": "Int4"
},
{
"ordinal": 1,
"name": "author_id",
"type_info": "Int4"
},
{
"ordinal": 2,
"name": "first_name",
"type_info": "Varchar"
},
{
"ordinal": 3,
"name": "last_name",
"type_info": "Varchar"
},
{
"ordinal": 4,
"name": "title",
"type_info": "Text"
},
{
"ordinal": 5,
"name": "body",
"type_info": "Text"
},
{
"ordinal": 6,
"name": "body_gemtext",
"type_info": "Text"
},
{
"ordinal": 7,
2025-07-19 15:13:53 -04:00
"name": "created_at",
"type_info": "Timestamptz"
},
{
"ordinal": 8,
2025-07-19 15:13:53 -04:00
"name": "publish_date",
"type_info": "Timestamptz"
}
],
"parameters": {
"Left": []
2025-07-19 15:13:53 -04:00
},
"nullable": [
false,
true,
false,
false,
false,
false,
true,
true,
true
2025-07-19 15:13:53 -04:00
]
},
"hash": "24f4b8dd651c57a8cab3ffc2fae9bfe4cb276521854b2a0a0fba2e7081093421"
2025-07-19 15:13:53 -04:00
}