{ "db_name": "PostgreSQL", "query": "SELECT EXISTS(SELECT 1 FROM community_bans\n WHERE community_id = $1 AND user_id = $2 AND ban_type = 'mute'\n AND (expires_at IS NULL OR expires_at > now())) AS \"exists!\"", "describe": { "columns": [ { "ordinal": 0, "name": "exists!", "type_info": "Bool" } ], "parameters": { "Left": [ "Uuid", "Uuid" ] }, "nullable": [ null ] }, "hash": "2bd843ce0aad356eedb3acec722296fb0b3f534fc0982a0818fb66ad5fd12641" }