$columnCols
$columnCols :
Pivot (pivot table) operation.
$group : \Weby\Sloth\Operation\Group
__construct(\Weby\Sloth\Sloth $sloth, $groupCols, $columnCols, $valueCols)
| \Weby\Sloth\Sloth | $sloth | |
| $groupCols | ||
| $columnCols | ||
| $valueCols |
count(string $fieldName = null, array $options = null) : \Weby\Sloth\Operation\Pivot
| string | $fieldName | |
| array | $options |
accum(string $fieldName = null, array $options = null) : \Weby\Sloth\Operation\Pivot
| string | $fieldName | |
| array | $options |
avg(string $fieldName = null, array $options = null) : \Weby\Sloth\Operation\Pivot
| string | $fieldName | |
| array | $options |
first(string $fieldName = null, array $options = null) : \Weby\Sloth\Operation\Pivot
| string | $fieldName | |
| array | $options |
median(string $fieldName = null, array $options = null) : \Weby\Sloth\Operation\Pivot
| string | $fieldName | |
| array | $options |
max(string $fieldName = null, array $options = null) : \Weby\Sloth\Operation\Pivot
| string | $fieldName | |
| array | $options |
min(string $fieldName = null, array $options = null) : \Weby\Sloth\Operation\Pivot
| string | $fieldName | |
| array | $options |
mode(string $fieldName = null, array $options = null) : \Weby\Sloth\Operation\Pivot
| string | $fieldName | |
| array | $options |
sum(string $fieldName = null, array $options = null) : \Weby\Sloth\Operation\Pivot
| string | $fieldName | |
| array | $options |
addColumn(string $name, mixed $value = null) : \Weby\Sloth\Operation\Pivot
Adds additional column to the output.
| string | $name | |
| mixed | $value |