SQLiteResult
final class SQLiteResult implements Iterator, Countable (View source)
Methods
(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0) Fetches the next row from a result set as an array
(PHP 5 < 5.4.0) Fetches the next row from a result set as an object
(PHP 5 < 5.4.0, PECL sqlite >= 1.0.1) Fetches the first column of a result set as a string
(PHP 5 < 5.4.0) Fetches the next row from a result set as an object
(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0) Fetches a column from the current row of a result set
(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0) Returns the number of fields in a result set
(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0) Returns the name of a particular field
(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0) Fetches the current row from a result set as an array
Return the key of the current element
Seek to the next row number
Checks if current position is valid
Rewind the Iterator to the first element
Count elements of an object
Seek to the previous row number of a result set
No description
(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0) Returns the number of rows in a buffered result set
(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0) Seek to a particular row number of a buffered result set
Details
array
fetch(int $result_type = SQLITE_BOTH, bool $decode_binary = true)
(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0) Fetches the next row from a result set as an array
object
fetchObject(string $class_name, array $ctor_params, bool $decode_binary = true)
(PHP 5 < 5.4.0) Fetches the next row from a result set as an object
string
fetchSingle(bool $decode_binary = true)
(PHP 5 < 5.4.0, PECL sqlite >= 1.0.1) Fetches the first column of a result set as a string
object
fetchAll(int $result_type, bool $decode_binary = true)
(PHP 5 < 5.4.0) Fetches the next row from a result set as an object
mixed
column($index_or_name, $decode_binary = true)
(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0) Fetches a column from the current row of a result set
int
numFields()
(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0) Returns the number of fields in a result set
string
fieldName(int $field_index)
(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0) Returns the name of a particular field
mixed
current(int $result_type = SQLITE_BOTH, bool $decode_binary = true)
(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0) Fetches the current row from a result set as an array
mixed
key()
Return the key of the current element
void
next()
Seek to the next row number
bool
valid()
Checks if current position is valid
void
rewind()
Rewind the Iterator to the first element
int
count()
Count elements of an object
bool
prev()
Seek to the previous row number of a result set
bool
hasPrev()
No description
int
numRows()
(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0) Returns the number of rows in a buffered result set
seek($row)
(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0) Seek to a particular row number of a buffered result set