|
NAMEksql_bind_blob ,
ksql_bind_double ,
ksql_bind_int , ksql_bind_null ,
ksql_bind_str , ksql_bind_zblob
—
bind values to a prepared statement
LIBRARYlibrary “ksql”SYNOPSIS#include <sys/types.h>
#include <stdint.h>
#include <ksql.h>
enum ksqlc
enum ksqlc
enum ksqlc
enum ksqlc
enum ksqlc
enum ksqlc
DESCRIPTIONThese functions bind data to a statement prepared with ksql_stmt_alloc(3). They all accept the relevant column to bind, which starts at zero.In RETURN VALUESThese functions returnKSQL_BINDCOL if the requested
column is not associated with a statement parameter,
KSQL_DB if the underlying bind operation fails, or
KSQL_OK on success.
SEE ALSOsqlite3_bind_blob(3)CAVEATSIn SQLite, binding occurs starting at column one. In these functions, for consistency with ksql_stmt_double(3) and friends, it starts at zero.
Visit the GSP FreeBSD Man Page Interface. |