namespace Nette\Database\Selector
Class GroupedTableSelection
Representation of filtered table grouped by some column. Selector is based on the great library NotORM http://www.notorm.com written by Jakub Vrana.
- Nette\Object
-
Nette\Database\Selector\TableSelection implements Iterator, Traversable, ArrayAccess, Countable
-
Nette\Database\Selector\GroupedTableSelection
public
|
#
__construct(
$name,
TableSelection
$refTable,
$column
)
|
public
GroupedTableSelection
|
#
through(
string
$column
)
Specify referencing column. Specify referencing column. Parameters$column stringReturnsGroupedTableSelection provides a fluent interface
|
public
|
#
select(
$columns
)
|
public
|
#
order(
$columns
)
|
public
|
#
aggregation(
$function
)
|
public
|
#
insert(
$data
)
|
public
|
#
update(
$data
)
|
public
|
#
delete(
)
|
protected
|
#
execute(
)
|
Methods Inherited From TableSelection
__construct(), __destruct(), get(), select(), find(), where(), order(), limit(), group(), aggregation(), count(), min(), max(), sum(), getSql(), createJoins(), execute(), whereString(), topString(), tryDelimite(), query(), access(), insert(), update(), delete(), getReferencedTable(), getReferencingTable(), rewind(), current(), key(), next(), valid(), offsetSet(), offsetGet(), offsetExists(), offsetUnset(), fetch(), fetchPairs()
Methods Inherited From Nette\Object
getReflection(), __call(), __callStatic(), extensionMethod(), __get(), __set(), __isset(), __unset()
1
|
$active | NULL |
# |
Properties Inherited From TableSelection
$connection, $name, $primary, $rows, $data, $select, $where, $conditions, $parameters, $order, $limit, $offset, $group, $having, $referenced, $referencing, $aggregation, $accessed, $prevAccessed, $keys, $delimitedName, $delimitedPrimary