That particular variation of $pull was missed when designing the
Update builder. I've create a JIRA ticket for this:
https://jira.mongodb.org/browse/CSHARP-296
In the meantime, you can work around it using:
var query = new QueryDocument("$gt", 3);
var update = Update.Pull("field", (IMongoQuery) query);
or perhaps even:
var update = new QueryDocument("$pull", new BsonDocument("$field",
new BsonDocument("$gt", 3)));
I'll let you translate that to Powershell... :)
On Aug 3, 5:13 am, Roman Kuzmin <
nightro...@gmail.com> wrote:
> Example athttp://
www.mongodb.org/display/DOCS/Updating: