package mysql_protocol

  1. Overview
  2. Docs
type com_type =
  1. | Authentication
  2. | Init_db
  3. | Change_user
  4. | Query
  5. | Prepare
  6. | Execute
  7. | Fetch
  8. | Close_statement
  9. | Ping
  10. | Quit
val com_string : string -> int -> Bitstring.bitstring
val com_bitstring : Bitstring.bitstring -> int -> Bitstring.bitstring
val com_code : int -> Bitstring.bitstring
val com_init_db : string -> Bitstring.bitstring
val com_change_user : Bitstring.bitstring -> Bitstring.bitstring
val com_query : string -> Bitstring.bitstring
val com_prepare : string -> Bitstring.bitstring
val com_close_statement : Bitstring.bitstring -> Bitstring.bitstring
val com_quit : Bitstring.bitstring
val com_ping : Bitstring.bitstring
OCaml

Innovation. Community. Security.