Illuminate\Database\Query\Builder::min PHP Method

min() public method

Retrieve the minimum value of a given column.
public min ( string $column ) : mixed
$column string
return mixed
    public function min($column)
    {
        return $this->aggregate(__FUNCTION__, [$column]);
    }

Usage Example

Exemplo n.º 1
0
 /**
  * Retrieve the minimum value of a given column.
  *
  * @param string $column
  * @return float|int 
  * @static 
  */
 public static function min($column)
 {
     return \Illuminate\Database\Query\Builder::min($column);
 }
All Usage Examples Of Illuminate\Database\Query\Builder::min