Class NTableSelection
Filtered table representation. Selection is based on the great library NotORM http://www.notorm.com written by Jakub Vrana.
- NObject
- NTableSelection implements Iterator, ArrayAccess, Countable
Direct known subclasses
NGroupedTableSelection
Package: Nette\Database\Table
Author: Jakub Vrana
Author: Jan Skrasek
Located at Database/Table/Selection.php
Author: Jakub Vrana
Author: Jan Skrasek
Located at Database/Table/Selection.php
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
string|array
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
array
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
string
|
|
public
boolean
|
|
public
|
|
public
integer
|
#
update( array|
Updates all rows in result set. Joins in UPDATE are supported only in MySQL |
public
integer
|
|
public
|
#
getReferencedTable( string $table, string $column, boolean $checkReferenced = FALSE )
Returns referenced row. |
public
|
#
getReferencingTable( string $table, string $column, integer $active = NULL )
Returns referencing rows. |
public
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
null
|
|
public
|
|
public
boolean
|
|
public
null
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
protected
|
$connection |
|
|
protected
|
$cache |
|
|
protected
|
$sqlBuilder |
|
|
protected
string
|
$name |
|
#
table name |
protected
string
|
$primary |
|
#
primary key field name |
protected
string|boolean
|
$primarySequence | FALSE |
#
primary column sequence name, FALSE for autodetection |
protected
|
$rows |
|
#
data read from database in [primary key => ActiveRow] format |
protected
|
$data |
|
#
modifiable data in [primary key => ActiveRow] format |
protected
boolean
|
$dataRefreshed | FALSE |
|
protected
|
$referenced | array() |
|
protected
array
|
$referencing | array() |
#
of [sqlQuery-hash => grouped data]; used by GroupedSelection |
protected
|
$referencingPrototype | array() |
#
cached array of GroupedSelection prototypes |
protected
array
|
$aggregation | array() |
#
of [conditions => [key => ActiveRow]]; used by GroupedSelection |
protected
array
|
$accessedColumns |
|
#
of touched columns |
protected
array
|
$previousAccessedColumns |
|
#
of earlier touched columns |
protected
boolean
|
$observeCache | FALSE |
#
should instance observe accessed columns caching |
protected
boolean
|
$checkReferenced | FALSE |
#
recheck referencing keys |
protected
array
|
$keys | array() |
#
of primary key values |
public read-only
string
|
$sql |
$reflection
|