package ezsqlite
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Ezsqlite
module Value : sig ... endval load : string -> tLoad database from file
val auto_extension : (t -> unit) -> unitval create_function :
t ->
string ->
int ->
(Value.value array -> Value.value) ->
unitval reset : stmt -> unitReset a statement -- this does not unbind bound values
val clear : stmt -> unitReset and clear bindings
val bind : stmt -> int -> Value.value -> unitval bind_dict : stmt -> (string * Value.value) list -> unitval bind_list : stmt -> Value.value list -> unitval parameter_count : stmt -> intGet the number of parameters
val parameter_index : stmt -> string -> intGet the index of a named parameter
val text : stmt -> int -> stringval int64 : stmt -> int -> int64val int : stmt -> int -> intval double : stmt -> int -> floatval column : stmt -> int -> Value.valueGet a value by index
val exec : stmt -> unitExecute a statement that returns no response
val step : stmt -> boolFold a function over each step returning a single accumulated value
val run : t -> string -> ?bind:Value.value list -> (stmt -> 'a) -> 'a listConvert a string into a statement and execute it
val run_ign : t -> string -> ?bind:Value.value list -> unit -> unitval data : stmt -> Value.value arrayGet each column as an array
val dict : stmt -> (string * Value.value) listGet each column as a list of tuples mapping from string to value
val column_type : stmt -> int -> Value.kindGet a value's type by index
val data_count : stmt -> intGet the number of columns with data
val database_name : stmt -> int -> stringGet the name of the database a statement is attached to
val table_name : stmt -> int -> stringGet the name of a table a statement is attached to
val origin_name : stmt -> int -> stringGet the name of a column a statement value is bound to
val column_name : stmt -> int -> stringval dump_sql : t -> string -> stringmodule Backup : sig ... endmodule Blob : sig ... endmodule Infix : sig ... end