{ "db_name": "PostgreSQL", "query": "SELECT u.id, u.workspace_id, u.role, s.scope\n FROM auth_sessions s\n JOIN users u ON u.id = s.user_id\n WHERE s.token_hash = $1 AND s.expires_at > now()", "describe": { "columns": [ { "ordinal": 0, "name": "id", "type_info": "Uuid" }, { "ordinal": 1, "name": "workspace_id", "type_info": "Uuid" }, { "ordinal": 2, "name": "role", "type_info": "Text" }, { "ordinal": 3, "name": "scope", "type_info": "Text" } ], "parameters": { "Left": [ "Text" ] }, "nullable": [ false, false, false, false ] }, "hash": "e8f7cb9c34be37fe16c5406e9263159693674dda567b60a1f87c6763ec448951" }