Method AddToSetWrapped
AddToSetWrapped<T>(string, T)
Adds a wrapped value to a named array element if the value is not already in the array (see $addToSet).
public UpdateBuilder AddToSetWrapped<T>(string name, T value)
Parameters
namestringThe name of the array element.
valueTThe wrapped value to add to the set.
Returns
- UpdateBuilder
The builder (so method calls can be chained).
Type Parameters
TThe type of wrapped value.