Table of Contents

Method Mul

Namespace
MongoDB.Driver.Builders
Assembly
MongoDB.Driver.Legacy.dll

Mul(string, double)

Multiplies the named element by a value (see $mul).

public UpdateBuilder Mul(string name, double value)

Parameters

name string

The name of the element to be multiplied.

value double

The value to multiply by.

Returns

UpdateBuilder

The builder (so method calls can be chained).

Mul(string, int)

Multiplies the named element by a value (see $mul).

public UpdateBuilder Mul(string name, int value)

Parameters

name string

The name of the element to be multiplied.

value int

The value to multiply by.

Returns

UpdateBuilder

The builder (so method calls can be chained).

Mul(string, long)

Multiplies the named element by a value (see $mul).

public UpdateBuilder Mul(string name, long value)

Parameters

name string

The name of the element to be multiplied.

value long

The value to multiply by.

Returns

UpdateBuilder

The builder (so method calls can be chained).