Method BitwiseOr
BitwiseOr(string, int)
Sets the named element to the bitwise or of its value with another value (see $bit with "or").
public static UpdateBuilder BitwiseOr(string name, int value)
Parameters
name
stringThe name of the element to be modified.
value
intThe value to be or-ed with the current value.
Returns
- UpdateBuilder
The builder (so method calls can be chained).
BitwiseOr(string, long)
Sets the named element to the bitwise or of its value with another value (see $bit with "or").
public static UpdateBuilder BitwiseOr(string name, long value)
Parameters
name
stringThe name of the element to be modified.
value
longThe value to be or-ed with the current value.
Returns
- UpdateBuilder
The builder (so method calls can be chained).