{
  "db_name": "PostgreSQL",
  "query": "SELECT \n            j.id, j.workspace_id, j.runnable_id AS \"runnable_id: ScriptHash\", q.scheduled_for, q.started_at, j.parent_job, j.flow_innermost_root_job, j.runnable_path, j.kind as \"kind!: JobKind\", j.permissioned_as, \n            j.created_by, j.script_lang AS \"script_lang: ScriptLang\", j.permissioned_as_email, j.flow_step_id, j.trigger_kind AS \"trigger_kind: JobTriggerKind\", j.trigger, j.priority, j.concurrent_limit, j.tag, j.cache_ttl, q.cache_ignore_s3_path, q.runnable_settings_handle\n            FROM v2_job j LEFT JOIN v2_job_queue q ON j.id = q.id\n            WHERE j.id = $1 AND j.workspace_id = $2",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "workspace_id",
        "type_info": "Varchar"
      },
      {
        "ordinal": 2,
        "name": "runnable_id: ScriptHash",
        "type_info": "Int8"
      },
      {
        "ordinal": 3,
        "name": "scheduled_for",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 4,
        "name": "started_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 5,
        "name": "parent_job",
        "type_info": "Uuid"
      },
      {
        "ordinal": 6,
        "name": "flow_innermost_root_job",
        "type_info": "Uuid"
      },
      {
        "ordinal": 7,
        "name": "runnable_path",
        "type_info": "Varchar"
      },
      {
        "ordinal": 8,
        "name": "kind!: JobKind",
        "type_info": {
          "Custom": {
            "name": "job_kind",
            "kind": {
              "Enum": [
                "script",
                "preview",
                "flow",
                "dependencies",
                "flowpreview",
                "script_hub",
                "identity",
                "flowdependencies",
                "http",
                "graphql",
                "postgresql",
                "noop",
                "appdependencies",
                "deploymentcallback",
                "singlestepflow",
                "flowscript",
                "flownode",
                "appscript",
                "aiagent",
                "unassigned_script",
                "unassigned_flow",
                "unassigned_singlestepflow"
              ]
            }
          }
        }
      },
      {
        "ordinal": 9,
        "name": "permissioned_as",
        "type_info": "Varchar"
      },
      {
        "ordinal": 10,
        "name": "created_by",
        "type_info": "Varchar"
      },
      {
        "ordinal": 11,
        "name": "script_lang: ScriptLang",
        "type_info": {
          "Custom": {
            "name": "script_lang",
            "kind": {
              "Enum": [
                "python3",
                "deno",
                "go",
                "bash",
                "postgresql",
                "nativets",
                "bun",
                "mysql",
                "bigquery",
                "snowflake",
                "graphql",
                "powershell",
                "mssql",
                "php",
                "bunnative",
                "rust",
                "ansible",
                "csharp",
                "oracledb",
                "nu",
                "java",
                "duckdb",
                "ruby"
              ]
            }
          }
        }
      },
      {
        "ordinal": 12,
        "name": "permissioned_as_email",
        "type_info": "Varchar"
      },
      {
        "ordinal": 13,
        "name": "flow_step_id",
        "type_info": "Varchar"
      },
      {
        "ordinal": 14,
        "name": "trigger_kind: JobTriggerKind",
        "type_info": {
          "Custom": {
            "name": "job_trigger_kind",
            "kind": {
              "Enum": [
                "webhook",
                "http",
                "websocket",
                "kafka",
                "email",
                "nats",
                "schedule",
                "app",
                "ui",
                "postgres",
                "sqs",
                "gcp",
                "mqtt",
                "nextcloud"
              ]
            }
          }
        }
      },
      {
        "ordinal": 15,
        "name": "trigger",
        "type_info": "Varchar"
      },
      {
        "ordinal": 16,
        "name": "priority",
        "type_info": "Int2"
      },
      {
        "ordinal": 17,
        "name": "concurrent_limit",
        "type_info": "Int4"
      },
      {
        "ordinal": 18,
        "name": "tag",
        "type_info": "Varchar"
      },
      {
        "ordinal": 19,
        "name": "cache_ttl",
        "type_info": "Int4"
      },
      {
        "ordinal": 20,
        "name": "cache_ignore_s3_path",
        "type_info": "Bool"
      },
      {
        "ordinal": 21,
        "name": "runnable_settings_handle",
        "type_info": "Int8"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Text"
      ]
    },
    "nullable": [
      false,
      false,
      true,
      false,
      true,
      true,
      true,
      true,
      false,
      false,
      false,
      true,
      false,
      true,
      true,
      true,
      true,
      true,
      false,
      true,
      true,
      true
    ]
  },
  "hash": "a1745a4f525b251d2f5a602ab2b2ede46b4471e21b11f607573a844013911abe"
}
