{ "db_name": "PostgreSQL", "query": "SELECT EXISTS(SELECT 1 FROM mods m INNER JOIN organizations o ON m.organization_id = o.id INNER JOIN team_members tm ON tm.team_id = o.team_id AND tm.user_id = $2 WHERE m.id = $1)", "describe": { "columns": [ { "ordinal": 0, "name": "exists", "type_info": "Bool" } ], "parameters": { "Left": [ "Int8", "Int8" ] }, "nullable": [ null ] }, "hash": "bad800084766fcbaf584066304a5a7e4484859e1326c765e5ebd403fbc7e188b" }