Interface IRowContainer
Container of database result fetched into IRow.
-
Nette\Database\IRowContainer
implements
Traversable
Methods summary
public
Nette\Database\IRow |boolean
|
#
fetch( )
Fetches single row object.
Fetches single row object.
Returns
|
public
array
|
#
fetchPairs( string|integer $key = null, string|integer $value = null )
Fetches all rows as associative array.
Fetches all rows as associative array.
Parameters
- $key
- name used for an array key or null for numeric index
- $value
- name used for an array value or null for the whole row
Returns
array array
|
public
Nette\Database\IRow[]
|
|
public
array
|
#
fetchAssoc( string $path )
Fetches all rows and returns associative tree.
Fetches all rows and returns associative tree.
Parameters
Returns
array array
|