{
  "db_name": "PostgreSQL",
  "query": "\n        SELECT EXISTS(\n            SELECT 1 FROM projects p\n            WHERE p.id = $1 AND (\n                p.owner_user_id = $2\n                OR EXISTS(\n                    SELECT 1 FROM team_members tm\n                    WHERE tm.team_id = p.owner_team_id\n                    AND tm.user_id = $2\n                )\n            )\n        ) as \"exists!\"\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "exists!",
        "type_info": "Bool"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Uuid"
      ]
    },
    "nullable": [
      null
    ]
  },
  "hash": "50f0abe1a09a88720fba5907245d12ddcc2560f597b66bbcada6f29cde9707c6"
}
