Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Pheasant
Collection
sum
Pheasant\Collection::sum PHP Method
Collection Class Documentation
Show file
Open project: lox/pheasant
sum()
public
method
public
sum
(
$field
)
public function sum($field) { return $this->aggregate('SUM', $field); }
Collection
__call
__construct
__invoke
_queryForWrite
aggregate
avg
column
count
delete
filter
first
getIterator
groupBy
hydrate
includes
join
last
limit
lock
max
min
offsetExists
offsetGet
offsetSet
offsetUnset
one
orCreate
order
orderBy
query
save
select
sum
toArray
unique