Library: SQLite
Package: SQLite
Header: Poco/Data/SQLite/Utility.h
Various utility functions for SQLite, mostly return code handling
Member Functions: getColumnType, lastError, throwException
static MetaColumn::ColumnDataType getColumnType(
sqlite3_stmt * pStmt,
std::size_t pos
);
Returns column data type.
static std::string lastError(
sqlite3 * pDb
);
Retreives the last error code from sqlite and converts it to a string
static void throwException(
int rc,
const std::string & addErrMsg = std::string ()
);
Throws for an error code the appropriate exception