SQLITE3_RESET(3) | Library Functions Manual | SQLITE3_RESET(3) |
sqlite3_reset
—
sqlite3_reset
(sqlite3_stmt
*pStmt);
The sqlite3_reset(S) interface resets the prepared statement S back to the beginning of its program.
If the most recent call to sqlite3_step(S) for the prepared statement S returned SQLITE_ROW or SQLITE_DONE, or if sqlite3_step(S) has never before been called on S, then sqlite3_reset(S) returns SQLITE_OK.
If the most recent call to sqlite3_step(S) for the prepared statement S indicated an error, then sqlite3_reset(S) returns an appropriate error code.
The sqlite3_reset(S) interface does not change the values of any bindings on the prepared statement S.
December 19, 2018 | NetBSD 9.2 |