[GODRIVER-575] Database.ListCollections should return mongo.Cursor, not command.Cursor Created: 19/Sep/18  Updated: 28/Oct/23  Resolved: 03/Nov/18

Status: Closed
Project: Go Driver
Component/s: Administrative Commands
Affects Version/s: None
Fix Version/s: 0.0.18

Type: Bug Priority: Minor - P4
Reporter: David Golden Assignee: Divjot Arora (Inactive)
Resolution: Fixed Votes: 0
Labels: beta
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

All other cursor-returning methods use mongo.Cursor as the return type. ListCollections should do the same.



 Comments   
Comment by Githook User [ 03/Nov/18 ]

Author:

{'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}

Message: Change ListCollections to return mongo.Cursor

GODRIVER-575

Change-Id: Iafd0b750777a11b7c1eb87c50f31ee806ae9011f
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/c545d1026d4d7ecda95cb1629f6f8afc717be6a0

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