{ "db_name": "PostgreSQL", "query": "SELECT p.id, p.author_id,\n COALESCE(u.display_name, u.username) AS \"author_name!\",\n u.username AS author_username,\n p.body_html,\n p.created_at AS \"created_at: chrono::DateTime\",\n p.edited_at AS \"edited_at: chrono::DateTime\",\n p.deleted_at AS \"deleted_at: chrono::DateTime\",\n p.removed_at AS \"removed_at: chrono::DateTime\",\n u.is_fan_plus AS author_is_fan_plus,\n u.signature_html AS author_signature_html\n FROM posts p\n JOIN users u ON u.mnw_account_id = p.author_id\n WHERE p.thread_id = $1\n ORDER BY p.created_at\n LIMIT $2 OFFSET $3", "describe": { "columns": [ { "ordinal": 0, "name": "id", "type_info": "Uuid" }, { "ordinal": 1, "name": "author_id", "type_info": "Uuid" }, { "ordinal": 2, "name": "author_name!", "type_info": "Text" }, { "ordinal": 3, "name": "author_username", "type_info": "Text" }, { "ordinal": 4, "name": "body_html", "type_info": "Text" }, { "ordinal": 5, "name": "created_at: chrono::DateTime", "type_info": "Timestamptz" }, { "ordinal": 6, "name": "edited_at: chrono::DateTime", "type_info": "Timestamptz" }, { "ordinal": 7, "name": "deleted_at: chrono::DateTime", "type_info": "Timestamptz" }, { "ordinal": 8, "name": "removed_at: chrono::DateTime", "type_info": "Timestamptz" }, { "ordinal": 9, "name": "author_is_fan_plus", "type_info": "Bool" }, { "ordinal": 10, "name": "author_signature_html", "type_info": "Text" } ], "parameters": { "Left": [ "Uuid", "Int8", "Int8" ] }, "nullable": [ false, false, null, false, false, false, true, true, true, false, true ] }, "hash": "919c642bf05cc40f6f15376d5b1680f623139423ae11e54ecd8ae247e673b5e0" }