LMongo\Query\Builder::norWhereLike PHP Method

norWhereLike() public method

Add a like statement with $regex operation to logical $nor operation.
public norWhereLike ( string $column, mixed $value, string $flags = 'im' ) : LMongo\Query\Builder
$column string
$value mixed
$flags string
return LMongo\Query\Builder
    public function norWhereLike($column, $value, $flags = 'im')
    {
        if (!$value instanceof MongoRegex) {
            $value = new MongoRegex('/' . $value . '/' . $flags);
        }
        return $this->where($column, $value, '$nor');
    }
Builder