redis\ActiveQuery min()

min() public method

Returns the minimum of the specified column values.

public integer min ( $column, $db = null )
$column string

The column name or expression. Make sure you properly quote column names in the expression.

$db yii\redis\Connection

The database connection used to execute the query. If this parameter is not given, the db application component will be used.

return integer

The minimum of the specified column values.

doc_Yii
2016-10-30 17:10:38
Comments
Leave a Comment

Please login to continue.