[DOCS-6731] Comment on: "manual/reference/method/cursor.toArray.txt" Created: 07/Dec/15  Updated: 03/Nov/17  Resolved: 15/Aug/16

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

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: bite-sized
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Javascript

Location: https://docs.mongodb.org/manual/reference/method/cursor.toArray/
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36
Referrer: https://www.google.com/
Screen Resolution: 1366 x 768
repo: docs
source: reference/method/cursor.toArray


Participants:
Days since reply: 7 years, 26 weeks, 2 days ago
Story Points: 0.25

 Description   

Do we have to include a Callback function for .toArray() ?
I am using this implementation but I get Promise pending or undefined as my response.



 Comments   
Comment by Ravind Kumar (Inactive) [ 15/Aug/16 ]

Hello,

Thank you for filing a DOCS ticket.

I attempted to reproduce this in MongoDB 3.0.9 and 3.2.6, but was not able to produce any error messages using .toArray().

if you re-file this ticket, please provide information such as the version of MongoDB, your OS, and the code you attempted to execute.

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