Compass
460 results found
-
copy query to shell
Copy Find or Aggregation Pipeline queries directly to embedded shell. I realize you can export the query then paste it in the shell, but a nice helper would be to click a button which tells the shell to use the current collection and pastes a well-formatted query from the Documents, Schema, or Aggregation tabs of Compass directly into the shell (without executing). At least a copy to clipboard (shell format as default) button.
4 votes -
Indentation/newlines for Aggregation: Export to Language/PHP
I tried to use the the aggregation pipeline feature Export to Language, for PHP. The pipeline was quite complex, so I was surprised when I copied it into PHP Storm that the entire pipeline was on a single line, making it quite hard to read. PHP Storm will not add newlines for you when you request Code Reformatting, so the only way to make it readable was to add the newlines manually before reformatting, which is time confusing and error prone.
IMO it would be preferable if the pipeline was exported with appropriate use of newlines and indentation.
1 vote -
Remember collection view mode selected or add an option to save default
Currently, after you switch to table mode in a collections tab, compass won't remember that option when you open a new collection tab. Being table mode user 99% of the time, it would be really useful to remember last mode selected when opening a new tab, or be able to define the default view mode
10 votes -
Explain Plan and query to work on all valid queries -- if an official driver works the Compass should be able to help debugging
Mongo Compass Explain Plan cannot work on queries which are using common Java available syntax. Having no way to use Explain Plan on valid queries, without modifying the query, should be a feature.
{ "_id" : { "$in": [{ "$binary" : "6Uk1UVZWl+krPObxzA3wtg==", "$type" : "03" },{ "$binary" : "60Xp1sJ9nMiT6cPy3GA1ig==", "$type" : "03" }] } }
should be a valid query in Mongo Compass since it is in Java AND the following error which is returned from both query area and Mongo Compass Explain Plan should not occur for such a query:
cannot nest $ under $in
One should NOT have…
1 vote -
Possibility to have _id field with new ObjectId added to each array element automatically
Hi,
I thought it would be a good idea to have the option to have an array automatically add an _id field with new ObjectId per element if its an array of object.
In our use cases, we mostly update/delete items by their _id.
In the case where we want to do a bulk $push or something similar, there are currently no way of generating the _id's except looping through our array and generating the ids beforehand which is not ideal.
Another option would be to be able to use an update operator to generate a new ObjectId.
For example:
…1 vote -
Screen reader support
Hello,
Visually impaired users rely on a screenreader to have information read by a speech synthesizer or displayed on a braille display. Popular screen readers are VoiceOver on Mac OS as well as JAWS and NVDA on Windows or Orca on Linux Desktop.
Currently, a screen reader isn't able to work properly with MongoDB Compass.6 votes -
Support hint for explain
Currently is not possible to force to run explain with a certain index, it would be a nice feature to have
7 votes -
Recognize $HOME/.ssh/config file in SSH bastion / jump box
Configured hostnames are not read from the file causing the user to have to re-input the same jumpbox information per connection.
The work around is to define jumpbox destinations on the user's /etc/hosts file but preference is to have Compass respect the default SSH config file.
2 votes -
export sorted data
When clicking export collection button, the sort option specified should be copied to "Export query with filters"
Examples:
db.holidays.find (
{Date: {eq: '2022-04-08'}
).sort ({System : 1})or even make this part editable, so we can add sort option
4 votes -
Mongo to recognize arrays during import
Mongo is unable to recognize arrays, even from it's own exported documents that are manually formatted as arrays. The options available are not compatible with complicated datasets with more than one column that contain arrays. This should be standard.
2 votes -
SSH private key - Ask for passphrase each time
I would like to be able to enter the SSH private key passphrase every time I connect to the DB like in NoSQLBooster or Robo 3T.
1 vote -
Enable toggling for boolean properties
The annoying thing for me is my web applications are heaviley dependant on Database View content.
in MongoDB Compass it quickly becomes a time waste to manually click a boolean property and change "false" to "true".
Please add a small toggle box button next to Boolean values.
Thanks, Carl.
2 votes -
CTRL+F in results
Implement a CTRF+F function to allow "text search" in results page (like in a Browser)
example : In a collection, I use "Filter" field to search document and compass returns 15 documents. I hit CTRL+F and I can search a field name or a value and navigate between.
4 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 -
New query from text
It would great to have a feature that allows importing a query from text in compass similar to the aggregation pipeline from text feature. Currently if someone has a long multiline find query which includes filter, project, sort methods then the user needs to copy each of the query segments separately and paste them into designated lines in the expanded query options view.
Importing queries from text would improve support team's efficiency that utilise the compass when trying to analyse application queries manually.2 votes -
aggregation pipeline verification before deleting
When opening a saved pipeline - the "open" button is adjacent to the bin (cancel) button and clicking on the bin deletes the pipeline without a chance to regret.
3 votes -
Toggle ability to use or not use a hidden index in query planner / compass
I want to be able to from a developer standpoint, use or not use an index and see the performance different through Compass.
1 vote -
Make it easier to search by _id
More then half of my queries in Compass is searching by id. Each time I have to add both curly brackets, then type 'id:' then 'Obj', select ObjectId from autocomplete and paste id.
I propose to add 'id' field in OPTIONS, where I could just paste _id string to fire mongoose-like 'findById'2 votes -
Store aggregation pipeline export language
Each time you start a new aggregation, the export language is always "Python 3"., so if you're using different language, you have to set the wanted language each and every time you change the active collection or open a new tab...
The default selected language could be:
- the last used language (easier but still efficient)
- the last used language for this connection
- the last used language for this collection
- a language configured as "preferred language" when adding a connection as favorite
- a language configured as "preferred language" at the app level...3 votes -
Allow for safe hyperlinking of URIs in documents
If a document contains a well-formatted (and sanitised) URI, then hovering over it should display a preview of the resource it links to (perhaps an image in s3) or the option to click through to it using the OS standard browser.
2 votes
- Don't see your idea?