-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:OS:
node.js / npm versions:
Additional info:
-
Not Needed
Problem Statement/Rationale
What is going wrong? What action would you like the Engineering team to take?
Please be sure to attach relevant logs with any sensitive data redacted.
How to retrieve logs for: Compass; Shell
Steps to Reproduce
db.getCollectionInfos({name:'firstYears'})
[
{
name: 'firstYears',
type: 'view',
options: { viewOn: 'students', pipeline: [Array] },
info: { readOnly: true }
}
]
Expected Results
here is the output from shell
replset [direct: primary] test> db.getCollectionInfos({name:'firstYears'})
[
{
name: 'firstYears',
type: 'view',
options: {
viewOn: 'students',
pipeline: [ { '$match': { year: 1 } } ]
},
info: { readOnly: true }
}
]
Actual Results
What do you observe is happening?
Additional Notes
MongoDB 7.0.0 Community
Compass Version 1.40.4 (1.40.4)
- related to
-
COMPASS-5342 Ability to set mongosh config properties in Compass
- Open