HOME
The SQLite3Result class
SQLite3Stmt::reset
SQLite3Result::columnName
SQLite3
PHP Manual
The SQLite3Result class
(PHP 5 >= 5.3.0)
Introduction
A class that handles result sets for the SQLite 3 extension.
Class synopsis
SQLite3Result
{
/* Methods */
public
string
columnName
(
int
$column_number
)
public
int
columnType
(
int
$column_number
)
public
array
fetchArray
([
int
$mode
= SQLITE3_BOTH
] )
public
bool
finalize
(
void
)
public
int
numColumns
(
void
)
public
bool
reset
(
void
)
}
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
SQLite3Stmt::reset
SQLite3Result::columnName
SQLite3
PHP Manual