{ "db_name": "PostgreSQL", "query": "SELECT EXISTS(SELECT 1 FROM community_bans\n WHERE community_id = $1 AND user_id = $2 AND ban_type = 'ban'\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": "27b906a5bbec171f7ba6c04ff8d26929bbbc5c1294e17425a7cb6350e7f65781" }