SQLITE3CHANGESET_OLD(3) | Library Functions Manual | SQLITE3CHANGESET_OLD(3) |
sqlite3changeset_old
—
sqlite3changeset_old
(sqlite3_changeset_iter
*pIter, int iVal, sqlite3_value
**ppValue );
Argument iVal must be greater than or equal to 0, and less than the number of columns in the table affected by the current change. Otherwise, SQLITE_RANGE is returned and *ppValue is set to NULL.
If successful, this function sets *ppValue to point to a protected sqlite3_value object containing the iVal'th value from the vector of original row values stored as part of the UPDATE or DELETE change and returns SQLITE_OK. The name of the function comes from the fact that this is similar to the "old.*" columns available to update or delete triggers.
If some other error occurs (e.g. an OOM condition), an SQLite error code is returned and *ppValue is set to NULL.
December 19, 2018 | NetBSD 9.2 |