{
  "db_name": "PostgreSQL",
  "query": "\n            SELECT id, user_id, transaction_type as \"transaction_type: CreditTransactionType\", amount, source_id, description, created_at, seq, api_key_id\n            FROM credits_transactions\n            WHERE ($3::text IS NULL OR description ILIKE '%' || $3 || '%')\n              AND ($4::text[] IS NULL OR transaction_type::text = ANY($4))\n              AND ($5::timestamptz IS NULL OR created_at >= $5)\n              AND ($6::timestamptz IS NULL OR created_at <= $6)\n            ORDER BY seq DESC\n            OFFSET $1\n            LIMIT $2\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "user_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "transaction_type: CreditTransactionType",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "amount",
        "type_info": "Numeric"
      },
      {
        "ordinal": 4,
        "name": "source_id",
        "type_info": "Text"
      },
      {
        "ordinal": 5,
        "name": "description",
        "type_info": "Text"
      },
      {
        "ordinal": 6,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 7,
        "name": "seq",
        "type_info": "Int8"
      },
      {
        "ordinal": 8,
        "name": "api_key_id",
        "type_info": "Uuid"
      }
    ],
    "parameters": {
      "Left": [
        "Int8",
        "Int8",
        "Text",
        "TextArray",
        "Timestamptz",
        "Timestamptz"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      true,
      false,
      false,
      true
    ]
  },
  "hash": "0f2881c2db550a074b2a2af422a9d6ec2a9c91014078b4187df0f510eb87b730"
}
