{ "db_name": "PostgreSQL", "query": "SELECT \n COUNT(*) FILTER (WHERE reaction_type = 'agree') as agree,\n COUNT(*) FILTER (WHERE reaction_type = 'disagree') as disagree,\n COUNT(*) FILTER (WHERE reaction_type = 'insightful') as insightful,\n COUNT(*) FILTER (WHERE reaction_type = 'off_topic') as off_topic,\n COUNT(*) FILTER (WHERE reaction_type = 'constructive') as constructive\n FROM comment_reactions\n WHERE comment_id = $1", "describe": { "columns": [ { "ordinal": 0, "name": "agree", "type_info": "Int8" }, { "ordinal": 1, "name": "disagree", "type_info": "Int8" }, { "ordinal": 2, "name": "insightful", "type_info": "Int8" }, { "ordinal": 3, "name": "off_topic", "type_info": "Int8" }, { "ordinal": 4, "name": "constructive", "type_info": "Int8" } ], "parameters": { "Left": [ "Uuid" ] }, "nullable": [ null, null, null, null, null ] }, "hash": "155f20f35f5b4df59e1a53d0aa30f2994b0a6f76fcd1ff443a6bbe13e3d41339" }