[GODRIVER-723] Missing ListCollectionNames Created: 18/Dec/18  Updated: 28/Oct/23  Resolved: 31/May/19

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

Type: New Feature Priority: Major - P3
Reporter: David Golub Assignee: Run Tian Yu (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The method Database.ListCollectionNames, which is present in other drivers, is missing in the Go driver.



 Comments   
Comment by Githook User [ 31/May/19 ]

Author:

{'name': 'Connie Yu', 'email': 'connie.yu@10gen.com'}

Message: Add ListCollectionNames in Database

GODRIVER-723

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

Comment by Jeffrey Yemin [ 18/Dec/18 ]

See https://github.com/mongodb/specifications/blob/master/source/enumerate-collections.rst#getting-collection-names:

> Drivers MAY implement a MongoClient method that returns an Iterable of strings, where each string corresponds to a collection name.

Given it's a MAY, changing this from a bug to a feature request

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