{
  "db_name": "PostgreSQL",
  "query": "\n            SELECT COUNT(*) as count\n            FROM credits_transactions\n            WHERE ($1::text IS NULL OR description ILIKE '%' || $1 || '%')\n              AND ($2::text[] IS NULL OR transaction_type::text = ANY($2))\n              AND ($3::timestamptz IS NULL OR created_at >= $3)\n              AND ($4::timestamptz IS NULL OR created_at <= $4)\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "count",
        "type_info": "Int8"
      }
    ],
    "parameters": {
      "Left": [
        "Text",
        "TextArray",
        "Timestamptz",
        "Timestamptz"
      ]
    },
    "nullable": [
      null
    ]
  },
  "hash": "e7e00335983abd19a5332ac3e741d9554a3ae29bbbffb2e745422c0991c0ba03"
}
