{ "db_name": "PostgreSQL", "query": "SELECT f.id, f.post_id, f.author_id,\n COALESCE(u.display_name, u.username) AS \"author_name!\",\n u.username AS author_username,\n f.body_html,\n f.created_at AS \"created_at: chrono::DateTime\"\n FROM post_footnotes f\n JOIN users u ON u.mnw_account_id = f.author_id\n WHERE f.post_id = ANY($1)\n ORDER BY f.created_at", "describe": { "columns": [ { "ordinal": 0, "name": "id", "type_info": "Uuid" }, { "ordinal": 1, "name": "post_id", "type_info": "Uuid" }, { "ordinal": 2, "name": "author_id", "type_info": "Uuid" }, { "ordinal": 3, "name": "author_name!", "type_info": "Text" }, { "ordinal": 4, "name": "author_username", "type_info": "Text" }, { "ordinal": 5, "name": "body_html", "type_info": "Text" }, { "ordinal": 6, "name": "created_at: chrono::DateTime", "type_info": "Timestamptz" } ], "parameters": { "Left": [ "UuidArray" ] }, "nullable": [ false, false, false, null, false, false, false ] }, "hash": "0830906e69639e409caf641739ac5ccc16662f9800fdccea7c1c0eeef5193f9e" }