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

orWhereRegex() public méthode

Add an "$regex JavaScript operation" clause to logical $or operation.
public orWhereRegex ( string $column, mixed $value ) : LMongo\Query\Builder
$column string
$value mixed
Résultat LMongo\Query\Builder
    public function orWhereRegex($column, $value)
    {
        if (!$value instanceof MongoRegex) {
            $value = new MongoRegex($value);
        }
        return $this->where($column, $value, '$or');
    }
Builder