sqlite/typed
TStmt
(defstruct TStmt [^¶ms ^&cols])
a phantom row-typed handle on a prepared sqlite statement,
Since: U3
tstmt-of
(tstmt-of)
wrap an opaque `Stmt` as a row-typed `TStmt`. The bind /
Since: U3
tstmt-handle
(tstmt-handle)
unwrap a row-typed TStmt back to its raw :int handle.
Since: U3
tstmt-bind-int
(tstmt-bind-int)
bind an int at parameter index `i`. Polymorphic
Since: U3
tstmt-bind-real
(tstmt-bind-real)
bind a float at parameter index `i`. Since: U3
tstmt-bind-text
(tstmt-bind-text)
bind a cstr at parameter index `i`. Since: U3
tstmt-bind-null
(tstmt-bind-null)
bind null at parameter index `i`. Since: U3
tstmt-step
(tstmt-step)
advance the statement (SQLITE_ROW = 100, SQLITE_DONE = 101).
Since: U3
tstmt-reset
(tstmt-reset)
reset to the start of the statement. Since: U3
tstmt-finalize
(tstmt-finalize)
release the underlying statement. The linear gate
Since: U3
tcol-count
(tcol-count)
number of result columns. Since: U3
tcol-name
(tcol-name)
name of the column at index `i`. Since: U3
tcol-int
(tcol-int)
read the int column at index `i` of the current row. Since: U3
tcol-real
(tcol-real)
read the float column at index `i`. Since: U3
tcol-text
(tcol-text)
read the text column at index `i`. Since: U3
tcol-type
(tcol-type)
declared column type (sqlite3_column_type code). Since: U3
Internal definitions
__stmt->int__int->stmt