版本: v2.6.0
sum
किसी कॉलम में मानों के योग की गणना करें.
sum($table, $column, $where)
sum($table, $join, $column, $where)
रिटर्न वैल्यू
[mixed] निर्दिष्ट कॉलम में मानों का योग।
$total = $database->sum("account", "money");
echo "Total amount: {$total}";