.Dd January 24, 2024 .Dt SQLITE3_NEXT_STMT 3 .Os .Sh NAME .Nm sqlite3_next_stmt .Nd find the next prepared statement .Sh SYNOPSIS .In sqlite3.h .Ft sqlite3_stmt * .Fo sqlite3_next_stmt .Fa "sqlite3 *pDb" .Fa "sqlite3_stmt *pStmt" .Fc .Sh DESCRIPTION This interface returns a pointer to the next prepared statement after pStmt associated with the database connection pDb. If pStmt is NULL then this interface returns a pointer to the first prepared statement associated with the database connection pDb. If no prepared statement satisfies the conditions of this routine, it returns NULL. .Pp The database connection pointer D in a call to sqlite3_next_stmt(D,S) must refer to an open database connection and in particular must not be a NULL pointer. .Sh IMPLEMENTATION NOTES These declarations were extracted from the interface documentation at line 6706. .Bd -literal SQLITE_API sqlite3_stmt *sqlite3_next_stmt(sqlite3 *pDb, sqlite3_stmt *pStmt); .Ed .Sh SEE ALSO .Xr sqlite3 3 , .Xr sqlite3_stmt 3