The SQLite3Result class
Introduction
(PHP 5 >= 5.3.0, PHP 7)
A class that handles result sets for the SQLite 3 extension.
Class synopsis
SQLite3Result {
/* Methods */
public columnName ( int $column_number ) : string
public columnType ( int $column_number ) : int
public fetchArray ([ int $mode = SQLITE3_BOTH ] ) : array
public finalize ( ) : bool
public numColumns ( ) : int
public reset ( ) : bool}
Table of Contents
- SQLite3Result::columnName — Returns the name of the nth column
- SQLite3Result::columnType — Returns the type of the nth column
- SQLite3Result::fetchArray — Fetches a result row as an associative or numerically indexed array or both
- SQLite3Result::finalize — Closes the result set
- SQLite3Result::numColumns — Returns the number of columns in the result set
- SQLite3Result::reset — Resets the result set back to the first row
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.sqlite3result.php