{
  "db_name": "PostgreSQL",
  "query": "SELECT code, title, discount_type, discount_value, min_order_amount, max_uses, role_keys, is_active FROM coupons WHERE id = $1",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "code",
        "type_info": "Varchar"
      },
      {
        "ordinal": 1,
        "name": "title",
        "type_info": "Varchar"
      },
      {
        "ordinal": 2,
        "name": "discount_type",
        "type_info": "Varchar"
      },
      {
        "ordinal": 3,
        "name": "discount_value",
        "type_info": "Int4"
      },
      {
        "ordinal": 4,
        "name": "min_order_amount",
        "type_info": "Int4"
      },
      {
        "ordinal": 5,
        "name": "max_uses",
        "type_info": "Int4"
      },
      {
        "ordinal": 6,
        "name": "role_keys",
        "type_info": "TextArray"
      },
      {
        "ordinal": 7,
        "name": "is_active",
        "type_info": "Bool"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid"
      ]
    },
    "nullable": [
      false,
      true,
      false,
      false,
      false,
      true,
      false,
      false
    ]
  },
  "hash": "26fb92cbdf79d21c14beaf14369ef5a7c439511e72e6d4d4f5e3f5607070f753"
}
