{ "db_name": "PostgreSQL", "query": "SELECT \n total_violations, confirmed_violations, dismissed_violations,\n total_sanctions, active_sanctions, warnings_count,\n current_escalation_level, last_violation_at, is_in_good_standing\n FROM user_violation_summary\n WHERE user_id = $1 AND community_id = $2", "describe": { "columns": [ { "ordinal": 0, "name": "total_violations", "type_info": "Int4" }, { "ordinal": 1, "name": "confirmed_violations", "type_info": "Int4" }, { "ordinal": 2, "name": "dismissed_violations", "type_info": "Int4" }, { "ordinal": 3, "name": "total_sanctions", "type_info": "Int4" }, { "ordinal": 4, "name": "active_sanctions", "type_info": "Int4" }, { "ordinal": 5, "name": "warnings_count", "type_info": "Int4" }, { "ordinal": 6, "name": "current_escalation_level", "type_info": "Int4" }, { "ordinal": 7, "name": "last_violation_at", "type_info": "Timestamptz" }, { "ordinal": 8, "name": "is_in_good_standing", "type_info": "Bool" } ], "parameters": { "Left": [ "Uuid", "Uuid" ] }, "nullable": [ false, false, false, false, false, false, false, true, false ] }, "hash": "865245efea368b2c0b937356889a07b9a04954165e700f4c7c35687c13f2be27" }