package ezsqlite
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Simplified SQLite3 bindings for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.3.tar.gz
sha256=e90d7fb0e82a552b853803bf45208ddbe1dd2ce4a53882888273f936b41ad202
md5=cffc08cb6f1fe46dca694a2ae1bcce97
doc/ezsqlite/Ezsqlite/index.html
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 sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>