SharedConnectionCache.Implinclude Sqlgg_traits.M_control_io with type 'a IO.future = 'a MutexImpl.futureinclude Sqlgg_traits.Mmodule Types : sig ... enddatatypes
type num = Types.Int.ttype text = Types.Text.ttype any = Types.Any.ttype datetime = Types.Datetime.tval get_column_Bool : row -> int -> Types.Bool.tval get_column_Int : row -> int -> Types.Int.tval get_column_UInt64 : row -> int -> Unsigned.UInt64.tval get_column_Text : row -> int -> Types.Text.tval get_column_Any : row -> int -> Types.Any.tval get_column_Float : row -> int -> Types.Float.tval get_column_Decimal : row -> int -> Types.Decimal.tval get_column_Datetime : row -> int -> Types.Datetime.tval get_column_Json : row -> int -> Types.Json.tval get_column_Json_path : row -> int -> Types.Json_path.tval get_column_One_or_all : row -> int -> Types.One_or_all.tval get_column_Bool_nullable : row -> int -> Types.Bool.t optionval get_column_Int_nullable : row -> int -> Types.Int.t optionval get_column_UInt64_nullable : row -> int -> Unsigned.UInt64.t optionval get_column_Text_nullable : row -> int -> Types.Text.t optionval get_column_Any_nullable : row -> int -> Types.Any.t optionval get_column_Float_nullable : row -> int -> Types.Float.t optionval get_column_Decimal_nullable : row -> int -> Types.Decimal.t optionval get_column_Datetime_nullable : row -> int -> Types.Datetime.t optionval get_column_Json_nullable : row -> int -> Types.Json.t optionval get_column_Json_path_nullable : row -> int -> Types.Json_path.t optionval get_column_One_or_all_nullable : row -> int -> Types.One_or_all.t optionval get_column_bool : row -> int -> boolval get_column_bool_nullable : row -> int -> bool optionval get_column_int64 : row -> int -> int64val get_column_int64_nullable : row -> int -> int64 optionval get_column_uint64 : row -> int -> Unsigned.UInt64.tval get_column_uint64_nullable : row -> int -> Unsigned.UInt64.t optionval get_column_float : row -> int -> floatval get_column_float_nullable : row -> int -> float optionval get_column_decimal : row -> int -> floatval get_column_decimal_nullable : row -> int -> float optionval get_column_datetime : row -> int -> stringval get_column_datetime_nullable : row -> int -> string optionval get_column_string : row -> int -> stringval get_column_string_nullable : row -> int -> string optionval get_column_json : row -> int -> Sqlgg_trait_types.jsonval get_column_json_nullable : row -> int -> Sqlgg_trait_types.json optionval get_column_json_path : row -> int -> Sqlgg_trait_types.json_pathval get_column_json_path_nullable :
row ->
int ->
Sqlgg_trait_types.json_path optionval get_column_one_or_all : row -> int -> Sqlgg_trait_types.one_or_allval get_column_one_or_all_nullable :
row ->
int ->
Sqlgg_trait_types.one_or_all optionval set_param_null : params -> unitset_param_* stmt index val. index is 0-based,
val set_param_Text : params -> Types.Text.t -> unitval set_param_Any : params -> Types.Any.t -> unitval set_param_Bool : params -> Types.Bool.t -> unitval set_param_Int : params -> Types.Int.t -> unitval set_param_UInt64 : params -> Unsigned.UInt64.t -> unitval set_param_Float : params -> Types.Float.t -> unitval set_param_Decimal : params -> Types.Decimal.t -> unitval set_param_Datetime : params -> Types.Datetime.t -> unitval set_param_Json : params -> Types.Json.t -> unitval set_param_Json_path : params -> Types.Json_path.t -> unitval set_param_One_or_all : params -> Types.One_or_all.t -> unitval set_param_bool : params -> bool -> unitval set_param_int64 : params -> int64 -> unitval set_param_uint64 : params -> Unsigned.UInt64.t -> unitval set_param_float : params -> float -> unitval set_param_decimal : params -> float -> unitval set_param_string : params -> string -> unitval set_param_datetime : params -> float -> unitval set_param_json : params -> Sqlgg_trait_types.json -> unitval set_param_json_path : params -> Sqlgg_trait_types.json_path -> unitval set_param_one_or_all : params -> Sqlgg_trait_types.one_or_all -> unitmodule Make_enum (E : Sqlgg_traits.Enum) : sig ... endinclude Sqlgg_traits.FNS
with type params := params
with type result := result
with type 'a io_future := 'a
with type 'a connection := 'a connection
with type statement := statement
with type row := row
with type execute_response := execute_responsemodule IO : Sqlgg_io.M_control with type 'a future = 'a MutexImpl.futureinclude Sqlgg_traits.FNS
with type params := params
with type result := result
with type 'a io_future := 'a IO.future
with type 'a connection := 'a connection
with type statement := statement
with type row := row
with type execute_response := execute_responseval select :
[> `RO ] connection ->
string ->
(statement -> result IO.future) ->
(row -> unit) ->
unit IO.futurePerform query (cardinality "any") and return results via callback for each row
val select_one_maybe :
[> `RO ] connection ->
string ->
(statement -> result IO.future) ->
(row -> 'b) ->
'b option IO.futurePerform query (cardinality "zero or one") and return first row if available
val select_one :
[> `RO ] connection ->
string ->
(statement -> result IO.future) ->
(row -> 'b) ->
'b IO.futurePerform query (cardinality "one") and return first row
val execute :
[> `WR ] connection ->
string ->
(statement -> result IO.future) ->
execute_response IO.futureExecute non-query.
val prepare : 'a connection -> string -> statement IO.future