[COMPASS-7383] db.getCollectionInfos doesnt get pipeline information Created: 30/Oct/23 Updated: 06/Nov/23 Resolved: 02/Nov/23 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | No version |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Gregory Vinopal | Assignee: | Unassigned |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OS: |
||
| Issue Links: |
|
||||||||
| Documentation Changes: | Not Needed | ||||||||
| Description |
Problem Statement/RationaleWhat 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. Steps to Reproducedb.getCollectionInfos({name:'firstYears'}) [
Expected Resultshere is the output from shell replset [direct: primary] test> db.getCollectionInfos({name:'firstYears'}) Actual ResultsWhat do you observe is happening? Additional NotesMongoDB 7.0.0 Community Compass Version 1.40.4 (1.40.4) |
| Comments |
| Comment by Sergey Petushkov [ 02/Nov/23 ] | ||
|
Hey gregory.vinopal@mongodb.com! This is working as expected. The value is returned by the command, you can see it there in your example, just default inspect depth of the document hides it. You can see the value if you pick the value deeper in the returned value:
Or use JSON.stringify to show the whole result:
We have a related issue to allow inspectDepth config option in Compass (COMPASS-5342), but we've yet to prioritize it. You can follow this issue to get updates when it resolves |