{
  "db_name": "PostgreSQL",
  "query": "\n            SELECT id, user_id, price_id, amount, currency_code, status, due, last_attempt, charge_type, subscription_id, subscription_interval\n            FROM charges\n            WHERE user_id = $1 ORDER BY due DESC",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Int8"
      },
      {
        "ordinal": 1,
        "name": "user_id",
        "type_info": "Int8"
      },
      {
        "ordinal": 2,
        "name": "price_id",
        "type_info": "Int8"
      },
      {
        "ordinal": 3,
        "name": "amount",
        "type_info": "Int8"
      },
      {
        "ordinal": 4,
        "name": "currency_code",
        "type_info": "Text"
      },
      {
        "ordinal": 5,
        "name": "status",
        "type_info": "Varchar"
      },
      {
        "ordinal": 6,
        "name": "due",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 7,
        "name": "last_attempt",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 8,
        "name": "charge_type",
        "type_info": "Text"
      },
      {
        "ordinal": 9,
        "name": "subscription_id",
        "type_info": "Int8"
      },
      {
        "ordinal": 10,
        "name": "subscription_interval",
        "type_info": "Text"
      }
    ],
    "parameters": {
      "Left": [
        "Int8"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      true,
      false,
      true,
      true
    ]
  },
  "hash": "457493bd11254ba1c9f81c47f15e8154053ae4e90e319d34a940fb73e33a69d4"
}
