{
  "db_name": "PostgreSQL",
  "query": "\n            SELECT\n                COUNT(*) AS \"total!\",\n                COUNT(*) FILTER (WHERE status IN ('activated', 'failed', 'skipped')) AS \"terminal!\",\n                COUNT(*) FILTER (WHERE status = 'failed') AS \"failed!\"\n            FROM sync_entries\n            WHERE sync_id = $1 AND status != 'deleted'\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "total!",
        "type_info": "Int8"
      },
      {
        "ordinal": 1,
        "name": "terminal!",
        "type_info": "Int8"
      },
      {
        "ordinal": 2,
        "name": "failed!",
        "type_info": "Int8"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid"
      ]
    },
    "nullable": [
      null,
      null,
      null
    ]
  },
  "hash": "0e215df9d7463521a86f80ec1d62b892241d16f4af046d5da090dcfab1b1d8e8"
}
