database\query::aggregate($method, $column = '*', $default = 0)

Builds an aggregation query.

  • $method (string)
  • $column (string)
  • $default (string)
    An optional default value, which should be returned if the query fails
  • return (object)