diff options
Diffstat (limited to 'static/netbsd/man3/sqlite3_column_count.3')
| -rw-r--r-- | static/netbsd/man3/sqlite3_column_count.3 | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/static/netbsd/man3/sqlite3_column_count.3 b/static/netbsd/man3/sqlite3_column_count.3 new file mode 100644 index 00000000..8f44d66a --- /dev/null +++ b/static/netbsd/man3/sqlite3_column_count.3 @@ -0,0 +1,31 @@ +.Dd January 24, 2024 +.Dt SQLITE3_COLUMN_COUNT 3 +.Os +.Sh NAME +.Nm sqlite3_column_count +.Nd number of columns in a result set +.Sh SYNOPSIS +.In sqlite3.h +.Ft int +.Fo sqlite3_column_count +.Fa "sqlite3_stmt *pStmt" +.Fc +.Sh DESCRIPTION +Return the number of columns in the result set returned by the prepared statement. +If this routine returns 0, that means the prepared statement +returns no data (for example an UPDATE). +However, just because this routine returns a positive number does not +mean that one or more rows of data will be returned. +A SELECT statement will always have a positive sqlite3_column_count() +but depending on the WHERE clause constraints and the table content, +it might return no rows. +.Pp +.Sh IMPLEMENTATION NOTES +These declarations were extracted from the +interface documentation at line 4776. +.Bd -literal +SQLITE_API int sqlite3_column_count(sqlite3_stmt *pStmt); +.Ed +.Sh SEE ALSO +.Xr sqlite3_data_count 3 , +.Xr sqlite3_stmt 3 |
