mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-10 04:36:09 -04:00
extend docs on column type
This commit is contained in:
parent
0440934c65
commit
9bd93cd0cc
@ -103,9 +103,12 @@ public:
|
||||
std::string getString() const;
|
||||
|
||||
/**
|
||||
* @brief Return the type of the value of the column
|
||||
* @brief Return the type of the value of the column using sqlite3_column_type()
|
||||
*
|
||||
* Return either SQLite::INTEGER, SQLite::FLOAT, SQLite::TEXT, SQLite::BLOB, or SQLite::Null.
|
||||
* This type may change from one row to the next, since
|
||||
* SQLite stores data types dynamically for each value and not per column.
|
||||
* Use Statement::getColumnDeclaredType() to retrieve the declared column type from a SELECT statement.
|
||||
*
|
||||
* @warning After a type conversion (by a call to a getXxx on a Column of a Yyy type),
|
||||
* the value returned by sqlite3_column_type() is undefined.
|
||||
|
Loading…
x
Reference in New Issue
Block a user