{
  "db_name": "PostgreSQL",
  "query": "SELECT COALESCE((SELECT MIN(started_at) as min_started_at\n            FROM queue\n            WHERE script_path = $1 AND job_kind != 'dependencies'  AND running = true AND workspace_id = $2 AND canceled = false AND concurrent_limit > 0), $3) as min_started_at, now() AS now",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "min_started_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 1,
        "name": "now",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Text",
        "Text",
        "Timestamptz"
      ]
    },
    "nullable": [
      null,
      null
    ]
  },
  "hash": "f3d20b0fa17836538ec93b84b08ffc6b555371d6eeeadfc54f5bf0bcbe93d8b4"
}
