Summary
Add a cursor type (mongoac_cursor_t) to return in cursor operations.
Motivation
Required for find, aggregate, listCollections/listIndexes, and runCursorCommand.
Scope
In scope: the mongoac_cursor_t handle and its iteration protocol, plus one cursor-producing operation used as the test vehicle (see Testing).
Out of scope:
- Explicit session support. Tracked in CDRIVER-6392.
- find/aggregate/runCursorCommand. Tracked in
CDRIVER-6384/ CDRIVER-6387 / CDRIVER-6389
Acceptance Criteria
- A mongoac_cursor_t opaque handle is added, wrapping a Rust Cursor.
- is depended on by
-
CDRIVER-6507 Support DatabaseT::runCursorCommand
-
- Blocked
-
-
CDRIVER-6512 Add list_databases() and list_database_names() to ClientT
-
- Blocked
-
-
CDRIVER-6524 Add list_collections() and list_collection_names() to DatabaseT
-
- Blocked
-
-
CDRIVER-6387 Add aggregate for Database and Collection to Async C Driver
-
- Blocked
-
-
CDRIVER-6389 Add runCommand and runCursorCommand to Async C Driver
-
- Blocked
-
-
CDRIVER-6391 Add index management to Async C Driver (Standard API only)
-
- Blocked
-
-
CDRIVER-6544 Add find to Async C Driver
-
- Blocked
-
- related to
-
CDRIVER-6393 Add change streams to Async C Driver
-
- Backlog
-
-
CDRIVER-6554 Refactor CursorT in terms of RawBatchCursor
-
- Backlog
-