package mysql_protocol

  1. Overview
  2. Docs
type com_type =
  1. | Authentication
  2. | Init_db
  3. | Change_user
  4. | Reset_connection
  5. | Query
  6. | Prepare
  7. | Execute
  8. | Fetch
  9. | Close_statement
  10. | Ping
  11. | Quit
  12. | Client_response_auth_switch_request_plugin_mysql_native_password
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_reset_connection : 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.