Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
OCaml-MariaDB is a library with OCaml bindings for MariaDB's libmysqlclient, including support for its nonblocking API. While you need MariaDB's libmysqlclient to build OCaml-MariaDB, it should be possible to use it with the regular libmysqlclient from MySQL, as long as you don't try to use the nonblocking API.
These bindings are restricted to MariaDB's prepared statement APIs, as they provide support for typed query parameters and results.
module type S = sig ... end
The MariaDB blocking interface.
The module for blocking MariaDB API calls. It should be possible to call functions from this module when using MySQL's or an older version of MariaDB's libmysqlclient.
module Nonblocking : sig ... end
This is the nonblocking MariaDB API. The interface contains a functor Make
which, given a way to wait for a connection socket to be ready for reading or writing, returns a module with the same signature S
as the traditional blocking API.