gen_caml: named parameters
[sqlgg.git] / sqlgg_traits.ml
blob27bd70bb5dde439e2e46a5ef479498c28afd9bbc
1 (** *)
3 module type M = sig
5 type statement
6 type connection
7 type num = int64
8 type text = string
9 type any = string
11 val get_column_Int : statement -> int -> num
12 val get_column_Text : statement -> int -> text
14 val set_param_null : statement -> int -> bool
15 val set_param_Text : statement -> int -> text -> bool
16 val set_param_Any : statement -> int -> any -> bool
17 val set_param_Int : statement -> int -> num -> bool
20 val select_exn : connection -> string -> (statement -> 'a) -> (statement -> 'b) -> bool
21 val execute_exn : connection -> string -> (statement -> 'a) -> bool
24 val select : connection -> string -> (statement -> 'a) -> (statement -> 'b) -> bool
25 val execute : connection -> string -> (statement -> 'a) -> bool
27 end