You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-csharp
When I invoke MongoCUrsor's methods SetLimit() and SetSkip(), an
exception happens:"A MongoCursor object cannot be modified once it has
been frozen." What does it means"frozen"? And how to "thaw" a
Mongocursor object?
Robert Stam
unread,
Feb 27, 2012, 11:42:13 PM2/27/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb...@googlegroups.com
A MongoCursor is frozen once you begin iterating over it. Once it is frozen you cannot call any methods that modify it.
What you do is create a new cursor and modify it instead.