Compass
7 results found
-
Export data from a query should limit fields based on Projection
When exporting data from a query in MongoDB Compass, only check the fields that are in the Projection section. Don't default to all the fields when exporting.
3 votes -
Possibility to set variables used in pipeline stages
Hi !
It would be really handfull to have the possibility to use variables in the pipeline stages:var userId = ObjectId("5f61dfadc1e8960001700da8'")
{
$match : {user.id : userId}
}for complex queries, it would avoid having to modify the id at each stages.
Thanks !9 votes -
The JSON Schema export should be producing a jsonschema file that can be used immediately with schema validation
It currently dumps a bunch of analysis information even though the menu item is "Share Schema as JSON". This file is useless for trying to harden or define a schema, even in non-mongodb tools (like validating documents match schema in our programs).
4 votes -
Explain why "Document failed validation"
When saving a document fails, and the error "Document failed validation" is raised, it would be incredibly useful to know in what way the document does not match the validation schema.
There's a whole meme at my company about this error and the hours we waste chasing down the various causes.
Yes I'm aware of the "application validation" argument. We do it too. But we have big documents, big collections, and frequent schema migrations; there's going to be issues. Compass does not access MongoDb though our application, so it seems like the right place to be able to know "why".
…
10 votes -
Want "expand all" button for documents in view.
It's very convenient to expand all fields of a document recursively. I want this feature for documents in view.
30 votesThank you for sharing your feedback on our portal! There is already an expand all button for some documents in Compass, but unfortunately the button isn't available for collections that are "readonly" in Compass (view, secondary, projection, read-only user, etc..). We have planned work to address this.
-
Reverse sort order by default
I was a big RockMongo user and am now trying to switch over to Compass. I found it extremely convenient that in RockMongo, the default sort order was {_id: -1} because that means that you see the most recent records first. I didn't realize how useful this was until I discovered that Compass sorts in forward order. Either a "reverse order" button or simply a change to the default would be highly desireable.
63 votes -
Generate jsonSchema Validation Based on Schema Analysis
Since Compass already provides a schema analysis, it would be useful if that analysis could be used generate jsonSchema. The result could be a starting point for the Validation tab or used in other tools such as https://hamidihamza.com/Angular6-json-schema-form/.
4 votes
- Don't see your idea?