Method PopLast
PopLast<TValue>(Expression<Func<TDocument, IEnumerable<TValue>>>)
Removes the last value from the named array element (see $pop).
public UpdateBuilder<TDocument> PopLast<TValue>(Expression<Func<TDocument, IEnumerable<TValue>>> memberExpression)
Parameters
memberExpression
Expression<Func<TDocument, IEnumerable<TValue>>>The member expression.
Returns
- UpdateBuilder<TDocument>
The builder (so method calls can be chained).
Type Parameters
TValue
The type of the enumerable member values.