int sqlite3_value_type( sqlite3_value* value );
value
An SQL function parameter value.
The native datatype code of the parameter value.
This function returns the initial datatype of an SQL function
parameter. If this function is used, it should be called before
any sqlite3_value_xxx()
function. Once a type conversion takes place, the result of this
function is undefined.
The return value will be SQLITE_INTEGER
, SQLITE_FLOAT
, SQLITE_TEXT
, SQLITE_BLOB
, or SQLITE_NULL
.
In most other regards, this function is nearly identical to the
sqlite3_column_type()
function.