{ "db_name": "PostgreSQL", "query": "SELECT p.id, p.author_id, p.body_markdown,\n p.created_at AS \"created_at: chrono::DateTime\",\n p.deleted_at AS \"deleted_at: chrono::DateTime\",\n p.thread_id, t.title AS thread_title,\n co.name AS community_name, co.slug AS community_slug,\n co.id AS community_id,\n c.name AS category_name, c.slug AS category_slug\n FROM posts p\n JOIN threads t ON t.id = p.thread_id\n JOIN categories c ON c.id = t.category_id\n JOIN communities co ON co.id = c.community_id\n WHERE p.id = $1", "describe": { "columns": [ { "ordinal": 0, "name": "id", "type_info": "Uuid" }, { "ordinal": 1, "name": "author_id", "type_info": "Uuid" }, { "ordinal": 2, "name": "body_markdown", "type_info": "Text" }, { "ordinal": 3, "name": "created_at: chrono::DateTime", "type_info": "Timestamptz" }, { "ordinal": 4, "name": "deleted_at: chrono::DateTime", "type_info": "Timestamptz" }, { "ordinal": 5, "name": "thread_id", "type_info": "Uuid" }, { "ordinal": 6, "name": "thread_title", "type_info": "Text" }, { "ordinal": 7, "name": "community_name", "type_info": "Text" }, { "ordinal": 8, "name": "community_slug", "type_info": "Text" }, { "ordinal": 9, "name": "community_id", "type_info": "Uuid" }, { "ordinal": 10, "name": "category_name", "type_info": "Text" }, { "ordinal": 11, "name": "category_slug", "type_info": "Text" } ], "parameters": { "Left": [ "Uuid" ] }, "nullable": [ false, false, false, false, true, false, false, false, false, false, false, false ] }, "hash": "86aa3ddc60355dc58da8f2a1f950556c144c76d1e01fb6a3ee7987e0c2b85901" }