{
  "db_name": "PostgreSQL",
  "query": "SELECT leaf_jobs->$1::text as leaf_jobs, parent_job FROM queue WHERE COALESCE((SELECT root_job FROM queue WHERE id = $2), $2) = id AND workspace_id = $3",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "leaf_jobs",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 1,
        "name": "parent_job",
        "type_info": "Uuid"
      }
    ],
    "parameters": {
      "Left": [
        "Text",
        "Uuid",
        "Text"
      ]
    },
    "nullable": [
      null,
      true
    ]
  },
  "hash": "c8ac658002423906f2a6e43e423a9e24561dfaa6b07ce89063d0910d2342a83b"
}
