[DOCS-6229] Add close method to cursors in the shell Created: 17/Sep/15  Updated: 02/Jun/17  Resolved: 02/Jun/17

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Jonathan Reams Assignee: Nicholas Larew
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 6 years, 36 weeks, 5 days ago

 Description   

In SERVER-17792, we're adding a close() method to cursors in the shell. http://docs.mongodb.org/manual/reference/method/js-cursor/ this should be updated to add the new method. It issues a kill cursor command to the server and invalidates the cursor in the shell.



 Comments   
Comment by Nicholas Larew [ 02/Jun/17 ]

cursor.close() has already been added.

https://jira.mongodb.org/browse/WRITING-1480
https://github.com/mongodb/docs/commit/15a620064b4bd90eb1f14849c69cba3ed376971a

Generated at Thu Feb 08 07:51:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.