{ "db_name": "PostgreSQL", "query": "SELECT \n total_arguments, pro_arguments, con_arguments, neutral_arguments,\n unique_participants, substantive_ratio::float8 AS substantive_ratio,\n balance_score::float8 AS balance_score\n FROM deliberation_metrics\n WHERE proposal_id = $1\n ORDER BY calculated_at DESC\n LIMIT 1", "describe": { "columns": [ { "ordinal": 0, "name": "total_arguments", "type_info": "Int4" }, { "ordinal": 1, "name": "pro_arguments", "type_info": "Int4" }, { "ordinal": 2, "name": "con_arguments", "type_info": "Int4" }, { "ordinal": 3, "name": "neutral_arguments", "type_info": "Int4" }, { "ordinal": 4, "name": "unique_participants", "type_info": "Int4" }, { "ordinal": 5, "name": "substantive_ratio", "type_info": "Float8" }, { "ordinal": 6, "name": "balance_score", "type_info": "Float8" } ], "parameters": { "Left": [ "Uuid" ] }, "nullable": [ false, false, false, false, false, null, null ] }, "hash": "660253bf0225d065ae50eab8625e1f9662779997acef345182ce23e96efde2c3" }