xref: /netbsd-src/external/public-domain/sqlite/man/sqlite3_next_stmt.3 (revision b9988867a8ad969c45a52aa7628bc932ec98d46b)
1.Dd January 24, 2024
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.In sqlite3.h
9.Ft sqlite3_stmt *
10.Fo sqlite3_next_stmt
11.Fa "sqlite3 *pDb"
12.Fa "sqlite3_stmt *pStmt"
13.Fc
14.Sh DESCRIPTION
15This interface returns a pointer to the next prepared statement
16after pStmt associated with the database connection
17pDb.
18If pStmt is NULL then this interface returns a pointer to the first
19prepared statement associated with the database connection pDb.
20If no prepared statement satisfies the conditions of this routine,
21it returns NULL.
22.Pp
23The database connection pointer D in a call to sqlite3_next_stmt(D,S)
24must refer to an open database connection and in particular must not
25be a NULL pointer.
26.Sh IMPLEMENTATION NOTES
27These declarations were extracted from the
28interface documentation at line 6706.
29.Bd -literal
30SQLITE_API sqlite3_stmt *sqlite3_next_stmt(sqlite3 *pDb, sqlite3_stmt *pStmt);
31.Ed
32.Sh SEE ALSO
33.Xr sqlite3 3 ,
34.Xr sqlite3_stmt 3
35