Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationDI
      • ApplicationLatte
      • ApplicationTracy
      • CacheDI
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsDI
      • FormsLatte
      • Framework
      • HttpDI
      • HttpTracy
      • MailDI
      • ReflectionDI
      • SecurityDI
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Conventions
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
    • Reflection
    • Security
    • Utils
  • none
  • Tracy
    • Bridges
      • Nette

Classes

  • Connection
  • Context
  • Helpers
  • ResultSet
  • Row
  • SqlLiteral
  • SqlPreprocessor
  • Structure

Interfaces

  • IConventions
  • IReflection
  • IRow
  • IRowContainer
  • IStructure
  • ISupplementalDriver

Exceptions

  • ConnectionException
  • ConstraintViolationException
  • DriverException
  • ForeignKeyConstraintViolationException
  • NotNullConstraintViolationException
  • UniqueConstraintViolationException
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Interface IRowContainer

Container of database result fetched into IRow.

Nette\Database\IRowContainer implements Traversable

Direct known implementers

Nette\Database\ResultSet, Nette\Database\Table\IRowContainer

Indirect known implementers

Nette\Database\Table\GroupedSelection, Nette\Database\Table\Selection
Namespace: Nette\Database
Located at Database/IRowContainer.php
Methods summary
public Nette\Database\IRow|boolean
# fetch( )

Fetches single row object.

Fetches single row object.

Returns

Nette\Database\IRow|boolean
if there is no row
public array
# fetchPairs( string $key = NULL, string $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[]
# fetchAll( )

Fetches all rows.

Fetches all rows.

Returns

Nette\Database\IRow[]
IRow[]
public array
# fetchAssoc( string $path )

Fetches all rows and returns associative tree.

Fetches all rows and returns associative tree.

Parameters

$path
descriptor

Returns

array
array
Nette 2.3-20161221 API API documentation generated by ApiGen 2.8.0