No matching definitions.

sqlite/typed

src/sqlite/typed.tur
defstruct

TStmt

(defstruct TStmt [^&params ^&cols])

a phantom row-typed handle on a prepared sqlite statement,

Since: U3

defn

tstmt-of

(tstmt-of)

wrap an opaque `Stmt` as a row-typed `TStmt`. The bind /

Since: U3

defn

tstmt-handle

(tstmt-handle)

unwrap a row-typed TStmt back to its raw :int handle.

Since: U3

defn

tstmt-bind-int

(tstmt-bind-int)

bind an int at parameter index `i`. Polymorphic

Since: U3

defn

tstmt-bind-real

(tstmt-bind-real)

bind a float at parameter index `i`. Since: U3

defn

tstmt-bind-text

(tstmt-bind-text)

bind a cstr at parameter index `i`. Since: U3

defn

tstmt-bind-null

(tstmt-bind-null)

bind null at parameter index `i`. Since: U3

defn

tstmt-step

(tstmt-step)

advance the statement (SQLITE_ROW = 100, SQLITE_DONE = 101).

Since: U3

defn

tstmt-reset

(tstmt-reset)

reset to the start of the statement. Since: U3

defn

tstmt-finalize

(tstmt-finalize)

release the underlying statement. The linear gate

Since: U3

defn

tcol-count

(tcol-count)

number of result columns. Since: U3

defn

tcol-name

(tcol-name)

name of the column at index `i`. Since: U3

defn

tcol-int

(tcol-int)

read the int column at index `i` of the current row. Since: U3

defn

tcol-real

(tcol-real)

read the float column at index `i`. Since: U3

defn

tcol-text

(tcol-text)

read the text column at index `i`. Since: U3

defn

tcol-type

(tcol-type)

declared column type (sqlite3_column_type code). Since: U3

Internal definitions
__stmt->int
__int->stmt