{
  "db_name": "PostgreSQL",
  "query": "\n            SELECT mod_id, SUM(amount) amount_sum, DATE_BIN($4::interval, created, TIMESTAMP '2001-01-01') AS interval_start\n            FROM payouts_values\n            WHERE user_id = $1 AND created BETWEEN $2 AND $3\n            GROUP by mod_id, interval_start ORDER BY interval_start\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "mod_id",
        "type_info": "Int8"
      },
      {
        "ordinal": 1,
        "name": "amount_sum",
        "type_info": "Numeric"
      },
      {
        "ordinal": 2,
        "name": "interval_start",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Int8",
        "Timestamptz",
        "Timestamptz",
        "Interval"
      ]
    },
    "nullable": [
      true,
      null,
      null
    ]
  },
  "hash": "dfb4bd3db0d1cc2b2f811c267547a224ee4710e202cf1c8f3f35e49b54d6f2f9"
}
