{
  "db_name": "PostgreSQL",
  "query": "\n        SELECT\n            model,\n            date_trunc('hour', timestamp) + INTERVAL '10 minute' * FLOOR(EXTRACT(minute FROM timestamp) / 10) as timestamp,\n            COUNT(*) as requests_count\n        FROM http_analytics\n        WHERE model = ANY($1)\n            AND timestamp >= $2\n            AND timestamp <= $3\n        GROUP BY model, date_trunc('hour', timestamp) + INTERVAL '10 minute' * FLOOR(EXTRACT(minute FROM timestamp) / 10)\n        ORDER BY model, timestamp\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "model",
        "type_info": "Text"
      },
      {
        "ordinal": 1,
        "name": "timestamp",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 2,
        "name": "requests_count",
        "type_info": "Int8"
      }
    ],
    "parameters": {
      "Left": [
        "TextArray",
        "Timestamptz",
        "Timestamptz"
      ]
    },
    "nullable": [
      true,
      null,
      null
    ]
  },
  "hash": "db1391694961f935c6668e010d20f1d6dae9d0eb78f908eb03a759fc511a4ffd"
}
