KO 한국어
버전: v2.3.0

sum

지정한 컬럼의 합계를 계산합니다.

sum($table, $column, $where)
sum($table, $join, $column, $where)
반환값
[mixed] 지정한 컬럼 값의 합계입니다.
$total = $database->sum("account", "money");

echo "Total amount: {$total}";