stmt:bind_blob

Binds a blob to a parameter

Prototype

stmt:bind_blob(n,blob)

Description

Binds string blob (which can be a binary string) as a blob to statement parameter n. The function returns sqlite3.OK on success or else a numerical error code (see Numerical error and result codes).

Lua functions

Topics