The toArray() method returns an array that contains all the documents from a cursor.
Your email address will not be published. Required fields are marked *
Submit Your Solution hear: