LMongo\Query\Builder::whereMod PHP Méthode

whereMod() public méthode

Add an "$mod element operation" clause to logical operation.
public whereMod ( string $column, integer $divisor, integer $remainder ) : LMongo\Query\Builder
$column string
$divisor integer
$remainder integer
Résultat LMongo\Query\Builder
    public function whereMod($column, $divisor, $remainder)
    {
        return $this->where($column, array('$mod' => array($divisor, $remainder)), 'first');
    }
Builder