SQLite3Result
class SQLite3Result (View source)
A class that handles result sets for the SQLite 3 extension.
Methods
int
numColumns()
Returns the number of columns in the result set
string|false
columnName(int $column)
Returns the name of the nth column
int|false
columnType(int $column)
Returns the type of the nth column
array|false
fetchArray(int $mode = SQLITE3_BOTH)
Fetches a result row as an associative or numerically indexed array or both
bool
reset()
Resets the result set back to the first row
bool
finalize()
Closes the result set
array|false
fetchAll(int $mode = 3)
No description
Details
int
numColumns()
Returns the number of columns in the result set
string|false
columnName(int $column)
Returns the name of the nth column
int|false
columnType(int $column)
Returns the type of the nth column
array|false
fetchArray(int $mode = SQLITE3_BOTH)
Fetches a result row as an associative or numerically indexed array or both
bool
reset()
Resets the result set back to the first row
bool
finalize()
Closes the result set
array|false
fetchAll(int $mode = 3)
Since: 8.5
No description