cursor_manager – Managers to handle when cursors are killed after being closed
DEPRECATED - A manager to handle when cursors are killed after they areclosed.
New cursor managers should be defined as subclasses of CursorManager and can beinstalled on a client by callingset_cursor_manager()
.
Changed in version 3.3: Deprecated, for real this time.
Changed in version 3.0: Undeprecated. close()
nowrequires an address argument. The BatchCursorManager
class is removed.
Parameters:
- client: a MongoClient
Raises TypeError if cursor_id is not an instance of (int, long).
Parameters:
- _cursor_id_: cursor id to close
- _address_: the cursor’s server’s (host, port) pair
Changed in version 3.0: Now requires an address argument.