[CDRIVER-204] Save cursor position Created: 14/Mar/13 Updated: 03/May/17 Resolved: 09/Nov/13 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | 0.7 |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Andrea Fontana | Assignee: | Gary Murakami |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Description |
|
I'm working on a binding of c driver for another language. It would be very useful if you can expose a function to clone a query cursor to save and use it later when original one was move over using mongo_cursor_next. |
| Comments |
| Comment by Christian Hergert [ 09/Nov/13 ] |
|
This is fixed in the new C driver (see https://github.com/chergert/libmongoc) which is built upon libbson. mongoc_cursor_t *mongoc_cursor_clone (const mongoc_cursor_t *); Fixed in 3d12752c08553d41a0f786ab8d749541ec3e1584. |