{
  "db_name": "PostgreSQL",
  "query": "\n            SELECT\n                charges.id, charges.user_id, charges.price_id, charges.amount, charges.currency_code, charges.status, charges.due, charges.last_attempt,\n                charges.charge_type, charges.subscription_id, charges.tax_amount, charges.tax_platform_id,\n                -- Workaround for https://github.com/launchbadge/sqlx/issues/3336\n                charges.subscription_interval AS \"subscription_interval?\",\n                charges.payment_platform,\n                charges.payment_platform_id AS \"payment_platform_id?\",\n                charges.parent_charge_id AS \"parent_charge_id?\",\n                charges.net AS \"net?\",\n\t\t\t\tcharges.tax_last_updated AS \"tax_last_updated?\",\n\t\t\t\tcharges.tax_drift_loss AS \"tax_drift_loss?\"\n            FROM charges\n            WHERE id = $1",
  "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": "tax_amount",
        "type_info": "Int8"
      },
      {
        "ordinal": 11,
        "name": "tax_platform_id",
        "type_info": "Text"
      },
      {
        "ordinal": 12,
        "name": "subscription_interval?",
        "type_info": "Text"
      },
      {
        "ordinal": 13,
        "name": "payment_platform",
        "type_info": "Text"
      },
      {
        "ordinal": 14,
        "name": "payment_platform_id?",
        "type_info": "Text"
      },
      {
        "ordinal": 15,
        "name": "parent_charge_id?",
        "type_info": "Int8"
      },
      {
        "ordinal": 16,
        "name": "net?",
        "type_info": "Int8"
      },
      {
        "ordinal": 17,
        "name": "tax_last_updated?",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 18,
        "name": "tax_drift_loss?",
        "type_info": "Int8"
      }
    ],
    "parameters": {
      "Left": [
        "Int8"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      true,
      false,
      true,
      false,
      true,
      true,
      false,
      true,
      true,
      true,
      true,
      true
    ]
  },
  "hash": "4e8e9f9cb42f90cc17702386fdb78385608f19dae9439cb6a860503600127b04"
}
