Compass
40 results found
-
my queries export option
Its good to have a export option for my queries, when changing system its required. otherwise no option to share all queries to another system
5 votes -
Tab to accept suggestion
I REALLY hate that as I insert my query and if I press Enter, the top suggestion that popped up is selected. It completely replaces the query I just built and 95% of the time, it's not the same query. You should require me to tab or arrow down to select the suggestion that is right for me, if I want to use the suggestion at all.
2 votes -
Support for Binary.createFromHexString in filter
It should be possible to create Binary objects from hex in the filter, like it is supported in the mongo shell already.
So far Binary objects can only be created from base64, so a manual conversion from hex to base64 is required.
Such as: {field: Binary.createFromHexString("0123456789abcdef")}
1 vote -
Please make a feature to set specific sorting query as a default .
I always put ' {createdAt: -1} to sort the data in a descending order. Could you make a feature that can set some default custom query setting ??
3 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 -
Disable the cache feature from Compass
Every time I click some on some collection, I don't receive the actual data from the database but the cached data. In my opinion, that should not be like that, because that makes me clicking constantly on the refresh button.
If I click a collection then I want the latest and updated data from the database.
One example:
- I open the Compass GUI tool and I click on some collection to see its data.
- I switch to the application that is doing things and executing actions in the database using their own link.
- I switch to Compass,…1 vote -
Optional ID search fallback for ObjectID
If I search { _id: 'd7hw803h2ihdf3h97298dh3' } and the query returns nothing, I should have the option to re-query but with this instead: { _id: ObjectId('d7hw803h2ihdf3h97298dh3') } and there should be a toggle switch to automatically do this re-querying when there's an empty result.
There's no reason not to have this, it's very easy to implement, and it would be some nice quality of life.
1 vote -
Show created timestamp for ObjectId fields
It would be really useful to see the timestamp from ObjectId fields while hovering over the ObjectId values in query results. Well designed documents have a field for the creation time, but not all documents have it and then need to go into hoops to take the ObjectId and call the getTimestamp() function for it to see when the document was created.
The ObjectId also contains machine identifier, process id and a counter. They're not that interesting, but could be shown as well.
2 votes -
I would like to paste a Mongo ObjectId and it automatically query on it
I would like to paste a Mongo ObjectId and it automatically query on it.
Right now when I go to type something into the query filter field it'll automatically add {}
A great next step is if I [ctrl} + [v] paste in a MongoDB ID, then it automatically turns it into an _id query.Step 1: Copy "64f046fb304cee6fa007d935"
Step 2: Paste int othe filter (Query) field
Step 2b: MongoDB compass converts my text into the query{_id: ObjectId('64f046fb304cee6fa007d935')}
Step 3: Click [Find] (or maybe it can even automatically do that?Currently I have to type"
_id: ObjectId('<now paste in
…5 votes -
Global search query filter
Use case: When we work on Mutli tenant-based system, we have Account Id is common in all collections. When we search multiple collections needs to add filter accounted in every search.
Feature: If we have global filter, we can add common filters and easily search in every collections.1 vote -
Filtering option for Nested objects
actually, as per now it's difficult to handle {column. Fieldname: value}, by using like {column _fieldname: value} it's better to handle in c# with the help of LINQ.
1 vote -
1 vote
-
Evalute numbers as 64bit instead of 53bit of JavaScript
Compass seems to evalute everything with JS, so if you enter {um:-2583493467308876869} it will treat the number as -2583493467308877000 and of course won't find what I'm looking for.
So the fix is to use {um:NumberLong('-2583493467308876869')}, which is a bit painful to type, and even if I do that, the Query History still saves {um: -2583493467308877000}, so basically it's broken ...
1 vote -
Sync queries across multiple computers or installations of Compass
I work on multiple computers and I find my self missing queries that I have already created on other computers. It would be nice to have queries that are linked to a collection to be synced when using Compass on other computers. Maybe something like Github can be used as the central storage for the queries or allow users to selected popular storage options if Compass can't provide the storage natively.
3 votes -
Change collection on a saved query
In the My Queries section it would be nice to be able to select which collection you want to be able to run the query against or to be able to copy the query to another collection.
At the moment each query is 'locked' to the collection it was oringally created for.
This means if i want to run the same query against another collection i have to open it and copy the text from the aggregation pipeline from the query then open the collection i want to run it on and copy the text into the aggregation pipline.
2 votes -
add refresh button in the collection tab
when you click on a collection it open a tab right ? what if you want to refresh it
let's say you are in development stage and you want to see what's being stored and all
my idea is to add hot key like CTRL R or a refresh button it will be very usefull4 votes -
Remove the Insight badge blocking the view to my query
There is a insight badge that does not merit that location(see attachment), and stands on the way to modify the queries.
1 vote -
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 -
RANDOM VALUES USING THE OBJECTID
Hi,
This is the basic suggestion from my side.we have a unique "_id" in each document while inserting the data can we make any changes in your code for example in our company we have one scenario while working on the aggregation query they need auto-generated value in numbers so it is not possible in the MongoDB.
so I thought we can do that thing based on the _id. because we have a unique field then i converted the _id to string and separated the numbers and alphabetic separately but we don't have unique values the after separating the numbers…
1 vote -
Changes in the objectID which is unique.1
Hi,
This is the basic suggestion from my side.we have a unique "_id" in each document while inserting the data can we make any changes in your code for example in our company we have one scenario while working on the aggregation query they need auto-generated value in numbers so it is not possible in the MongoDB.
so I thought we can do that thing based on the _id. because we have a unique field then i converted the _id to string and separated the numbers and alphabetic separately but we don't have unique values the after separating the numbers…
1 vote
- Don't see your idea?