When using listCollections with the nameOnly option and a filter, it looks like the filter is applied after retrieving only name information.
The documentation isn't clear that this is what should occur and the behavior could be surprising to users.
Another possible improvement would be to have the command fail if nameOnly is true and the filter contains any keys other than name.
- related to
-
DOCS-11858 listCollection filter plus nameOnly option
- Closed