LMongo\Query\Builder::andWhereRegex PHP Метод

andWhereRegex() публичный Метод

Add an "$regex JavaScript operation" clause to logical $and operation.
public andWhereRegex ( string $column, mixed $value ) : LMongo\Query\Builder
$column string
$value mixed
Результат LMongo\Query\Builder
    public function andWhereRegex($column, $value)
    {
        if (!$value instanceof MongoRegex) {
            $value = new MongoRegex($value);
        }
        return $this->where($column, $value, '$and');
    }
Builder