xref: /netbsd-src/external/public-domain/sqlite/man/sqlite3_next_stmt.3 (revision bdc22b2e01993381dcefeff2bc9b56ca75a4235c)
1.Dd March 11, 2017
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