Compass
389 results found
-
Prompt to save pipeline in case Compass is closed accidentally
It's a human tendency to forget to continuously save an authored pipeline while constructing it. We might create a large pipeline and forget to save it before closing MongoDB Compass.
Similar, to other softwares please add a prompt to Compass in a situation when changes are not saved before closing it.
15 votes -
15 votes
-
Enabling LUUID, NUUID in filters
With https://jira.mongodb.org/browse/COMPASS-1083, support was added for the UUID in filters and expressions, as well as the bindata type. It would be very useful to also have direct support for NUUID and LUUID identifiers in filters, so that you don't have to do manual conversion before querying such data.
An example query could be {uuid: NUUID('e6e71462-a5a6-4348-b4b5-22d4763462d1')}
14 votes -
"Open in new tab" should be default behaviour
By click on collection this should be opened in new tab. If the collection is already opened the tab will be selected. The context menu "Open in new tab" should be stay as is and opend a collection in new tab.
The case "why" - you open a collection, put some filter, order and some other staff. Then you want check other collection and just click on it. All settings on the first collection are lost.
13 votes -
13 votes
-
Copy as "normal" JSON
Would be nice to have ability to copy data in mongo shell compatible format. NOT like this:
{"id":{"$oid":"58a1b4496711f017c2be2c86"},"reportedBy": "$oid":"589b5cddb8843f642c09eecd"},"createdAt":{"$date":"2017-02-13T13:27:37.594Z"}}
But like this:
```
{ "id" : ObjectId("58a1b4496711f017c2be2c86"), "createdAt": ISODate("2017-02-13T13:27:37.594Z")}
```12 votes -
Have option to make "Fill in connection fields individually" view the default upon start up
Currently, MongoDB Compass defaults to showing the "Paste connection string" view upon startup. The full connection string is shown, meaning that if you have any saved favorites, the username and password will be immediately visible upon the screen. This seems like a security risk, especially for use in public settings.
Additionally, if your saved favorite includes SSH tunneling settings, these settings will not be applied if you try to connect to the database from the "Paste connection string" view, leading to connection failure. You must switch to the "Fill in connection fields individually" view before hitting Connect for the SSH…
12 votes -
Better Color indicator for different connections
Currently, we use the colour indicator (chosen during mark favourite) on the title (connection name in the sidebar). That is helpful while working with multiple windows having different DB connections like Stage , Prod or Dev.
But I still feel that is a very minimal implementation of a color indicator. It will be better if the connection colour indicator is reflected on the border outline of the whole window & sidebar to better distinguish between different DB connection windows.
I am always afraid if I am mistakenly doing some change on prod DB instead of Stage DB.
If the colour…
11 votes -
Open collections in new tab if modifications were made in the current tab
Here's my workflow:
- I open a collection
- I then run some filters to check some entries
- I want to check something in another collection, so I click on the relevant collection in the sidebar
- My tab was overriden and I lost my filter!
It should have opened a new tab, because I actually interracted with the previous tab.11 votes -
Add ability to setup delimiter for csv export
Please add ability to setup delimiter for csv export. For example if values of fields are text, than they could contain comma ( and semicollon) and csv file is off. There needs to be options such as comma, semicollon, tab ...
11 votes -
11 votes
-
Date Tags for Easier Querying of Date Fields
I propose adding a feature called "Date Tags" to MongoDB Compass, which would allow users to query date fields more easily. Date Tags would serve as shorthand for commonly used date queries, enhancing user efficiency and readability.
Example Use-Case:
Consider the task of finding all documents where the createdAt field was set to "yesterday". Normally, the query would look something like:{ "createdAt": { "$gte": ISODate("2023-10-17T00:00:00"), "$lt": ISODate("2023-10-18T00:00:00") } }
With Date Tags, this could be simplified to:
{ "createdAt": #yesterday }
Proposed Date Tags:
#today
#yesterday
#lastNDays
#lastNHours
#lastNMinutes
#others
Each tag would automatically be translated to the corresponding…
10 votes -
Support Legacy CSUUID in filters and in view instead of BinData type 3
support CSUUID like robo 3t does that, because its very hard to see the real string with this BinData type 3
i have a script that convert bin data to CSUUID and CSUUID to bin data in js if you can include that in compass code it will help a lot of users that used robo 3t instead of compass only because of this uid
this is the script
https://github.com/barnuri/mongo-uuid-helper/blob/master/uuidHelpers.js10 votes -
Add an option to copy a database
Let's say I need to test something on the production data but I don't want to touch the prod data. It would be cool to have an option to copy the remote DB data to the local DB so I could safely test my queries without affecting prod or UAT DB data
Simply said it should be like an export database
10 votes -
10 votes
-
10 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 -
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".
…
9 votes -
9 votes
-
Add "Documents Per Page" feature it will very helpfull for us
Currently there are only 20 documents per page but if you give a feature to choose documents per page then it's very helpful..
8 votes
- Don't see your idea?