{
  "db_name": "PostgreSQL",
  "query": "SELECT coalesce(COUNT(*) FILTER(WHERE suspend = 0 AND running = false), 0) as \"database_length!\", coalesce(COUNT(*) FILTER(WHERE suspend > 0), 0) as \"suspended!\" FROM queue WHERE (workspace_id = $1 OR $2) AND scheduled_for <= now()",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "database_length!",
        "type_info": "Int8"
      },
      {
        "ordinal": 1,
        "name": "suspended!",
        "type_info": "Int8"
      }
    ],
    "parameters": {
      "Left": [
        "Text",
        "Bool"
      ]
    },
    "nullable": [
      null,
      null
    ]
  },
  "hash": "28a878c59b6d52f42d315eabb34c96133b69542b01232295c26cc9e093c372f9"
}
