{
  "db_name": "PostgreSQL",
  "query": "\n        DELETE\n        FROM parallel_monitor_lock\n        WHERE last_ping IS NOT NULL AND last_ping < NOW() - ($1 || ' seconds')::interval\n        RETURNING parent_flow_id, job_id, last_ping, (SELECT workspace_id FROM v2_job_queue q\n            WHERE q.id = parent_flow_id AND q.running = true AND q.canceled_by IS NULL\n        ) AS workspace_id\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "parent_flow_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "job_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "last_ping",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 3,
        "name": "workspace_id",
        "type_info": "Varchar"
      }
    ],
    "parameters": {
      "Left": [
        "Text"
      ]
    },
    "nullable": [
      false,
      false,
      true,
      null
    ]
  },
  "hash": "00c4a602aa6a50f2f922851ce63b5216e915c7649698687a00d47da55c70349f"
}
