xref: /netbsd-src/external/public-domain/sqlite/man/sqlite3_next_stmt.3 (revision 9fd8799cb5ceb66c69f2eb1a6d26a1d587ba1f1e)
1.Dd December 19, 2018
2.Dt SQLITE3_NEXT_STMT 3
3.Os
4.Sh NAME
5.Nm sqlite3_next_stmt
6.Nd Find the next prepared statement
7.Sh SYNOPSIS
8.Ft sqlite3_stmt *
9.Fo sqlite3_next_stmt
10.Fa "sqlite3 *pDb"
11.Fa "sqlite3_stmt *pStmt"
12.Fc
13.Sh DESCRIPTION
14This interface returns a pointer to the next prepared statement
15after pStmt associated with the database connection
16pDb.
17If pStmt is NULL then this interface returns a pointer to the first
18prepared statement associated with the database connection pDb.
19If no prepared statement satisfies the conditions of this routine,
20it returns NULL.
21.Pp
22The database connection pointer D in a call to sqlite3_next_stmt(D,S)
23must refer to an open database connection and in particular must not
24be a NULL pointer.
25.Sh SEE ALSO
26.Xr sqlite3 3 ,
27.Xr sqlite3_stmt 3
28