Query tổng của 1 column:
PHP
$userModel->where()->selectSum('money')->first()['money'];Đếm số row theo điều kiện where:
PHP
$userModel->where()->countAllResults();Đếm tổng số row:
