private function _addQueryCondition($builder, $type, $columnName, $operator, $value)
    {
        switch ($type) {
            // Having by
            case 'having':
                $builder->having($columnName, $operator, $value);
                break;

            // Standard where statement
            case 'where':
            default:
                $builder->where($columnName, $operator, $value);
                break;
        }

        return $builder;
    }