package mysql_protocol

  1. Overview
  2. Docs
type sign =
  1. | Positive
  2. | Negative
type native_data =
  1. | Null
  2. | Tinyint of int
  3. | Smallint of int
  4. | Int of int
  5. | Longint of Int64.t
  6. | Longlongint of Big_int.big_int
  7. | Decimal of Num.num
  8. | Date of int * int * int
  9. | Time of sign * int * int * int * Int64.t
  10. | Datetime of (int * int * int) * (int * int * int * Int64.t)
  11. | Timestamp of (int * int * int) * (int * int * int * Int64.t)
  12. | Float of float
  13. | Double of float
  14. | Int24 of int
  15. | Year of int
  16. | Varchar of string
  17. | String of string
  18. | Varstring of string
  19. | Blob of Buffer.t
  20. | Binary of Buffer.t
  21. | Varbinary of Buffer.t
  22. | Enum of string
  23. | Set of string
  24. | Bit of Bitstring.t
  25. | Geometry of Bitstring.t
val type_to_string : native_data -> string
val to_string : native_data -> string
val eq : native_data -> native_data -> bool
OCaml

Innovation. Community. Security.