mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-05 18:26:05 -04:00
Additional warning on data lifetime
This commit is contained in:
parent
ffc00e1962
commit
021f6cfd16
@ -122,7 +122,9 @@ public:
|
||||
* @brief Return a copie of the column data specified by its index starting at 0 (aIndex >= 0)
|
||||
*
|
||||
* @warning The resulting Column object must not be copied or memorized as it is only valid for a short time,
|
||||
* only while the row from the Statement remains valid, that is only until next executeStep
|
||||
* only while the row from the Statement remains valid, that is only until next executeStep.
|
||||
* Thus, you should instead extract immediately its data (getInt()...) and use or copy this data
|
||||
* for any later usage.
|
||||
*/
|
||||
Column getColumn(const int aIndex) const; // throw(SQLite::Exception);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user