[SERVER-27584] Add support for filter to listDatabases Created: 04/Jan/17  Updated: 26/Oct/17  Resolved: 19/Jan/17

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.4.2, 3.5.2

Type: New Feature Priority: Major - P3
Reporter: Timothy Olsen (Inactive) Assignee: David Storch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Documented
is documented by DOCS-9797 Document new filter parameter for lis... Closed
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4, v3.2
Sprint: Query 2017-01-23
Participants:

 Description   

Add a filter field to the listDatabases command in order to reduce the set of database metadata entries returned. For example, we may only want the list of databases whose names begin with "foo". This could be achieved with the following command:

db.adminCommand({listDatabases: 1, filter: {name: /^foo/}});



 Comments   
Comment by Githook User [ 19/Jan/17 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-27584 add filter to listDatabases command

(cherry picked from commit d7bd800d3d06004c4ca9114627ee882442e4d5e4)
Branch: v3.4
https://github.com/mongodb/mongo/commit/7e8db821ae2c8ed1eaa637f97c301d53b48b2a26

Comment by Githook User [ 19/Jan/17 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-27584 add filter to listDatabases command
Branch: master
https://github.com/mongodb/mongo/commit/d7bd800d3d06004c4ca9114627ee882442e4d5e4

Generated at Thu Feb 08 04:15:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.