SQLITE3_COLUMN_NAME(3) | Library Functions Manual | SQLITE3_COLUMN_NAME(3) |
sqlite3_column_name
,
sqlite3_column_name16
—
sqlite3_column_name
(sqlite3_stmt*,
int N);
const void *
sqlite3_column_name16
(sqlite3_stmt*,
int N);
The returned string pointer is valid until either the prepared statement is destroyed by sqlite3_finalize() or until the statement is automatically reprepared by the first call to sqlite3_step() for a particular run or until the next call to sqlite3_column_name() or sqlite3_column_name16() on the same column.
If sqlite3_malloc() fails during the processing of either routine (for example during a conversion from UTF-8 to UTF-16) then a NULL pointer is returned.
The name of a result column is the value of the "AS" clause for that column, if there is an AS clause. If there is no AS clause then the name of the column is unspecified and may change from one release of SQLite to the next.
December 19, 2018 | NetBSD 9.0 |