package mariadb

  1. Overview
  2. Docs

The module contains operations on MariaDB prepared statements.

type t

The type of prepared statement.

val execute : t -> Field.value array -> Res.t option result

execute stmt params executes the prepared statement stmt binding to it the query parameters params and returns a Res.t, the query result.

val close : t -> unit result

close stmt closes the prepapred statement stmt and frees any allocated memory associated with it and its result.

OCaml

Innovation. Community. Security.