Method PopFirst
PopFirst<TValue>(Expression<Func<TDocument, IEnumerable<TValue>>>)
Removes the first value from the named array element (see $pop).
public UpdateBuilder<TDocument> PopFirst<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.