{
  "db_name": "PostgreSQL",
  "query": "select hash, tag, concurrency_key, concurrent_limit, concurrency_time_window_s, cache_ttl, language as \"language: ScriptLang\", dedicated_worker, priority, delete_after_use, timeout, has_preprocessor from script where path = $1 AND workspace_id = $2 AND\n    created_at = (SELECT max(created_at) FROM script WHERE path = $1 AND workspace_id = $2 AND\n    deleted = false AND lock IS not NULL AND lock_error_logs IS NULL)",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "hash",
        "type_info": "Int8"
      },
      {
        "ordinal": 1,
        "name": "tag",
        "type_info": "Varchar"
      },
      {
        "ordinal": 2,
        "name": "concurrency_key",
        "type_info": "Varchar"
      },
      {
        "ordinal": 3,
        "name": "concurrent_limit",
        "type_info": "Int4"
      },
      {
        "ordinal": 4,
        "name": "concurrency_time_window_s",
        "type_info": "Int4"
      },
      {
        "ordinal": 5,
        "name": "cache_ttl",
        "type_info": "Int4"
      },
      {
        "ordinal": 6,
        "name": "language: 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"
              ]
            }
          }
        }
      },
      {
        "ordinal": 7,
        "name": "dedicated_worker",
        "type_info": "Bool"
      },
      {
        "ordinal": 8,
        "name": "priority",
        "type_info": "Int2"
      },
      {
        "ordinal": 9,
        "name": "delete_after_use",
        "type_info": "Bool"
      },
      {
        "ordinal": 10,
        "name": "timeout",
        "type_info": "Int4"
      },
      {
        "ordinal": 11,
        "name": "has_preprocessor",
        "type_info": "Bool"
      }
    ],
    "parameters": {
      "Left": [
        "Text",
        "Text"
      ]
    },
    "nullable": [
      false,
      true,
      true,
      true,
      true,
      true,
      false,
      true,
      true,
      true,
      true,
      true
    ]
  },
  "hash": "fc7ac95d8d5f4532a2b0e50f84c1e273d25543401639a68f868e1e4fd8b0640a"
}
