AdminMassimiliano (Admin, MongoDB)

My feedback

  1. 1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Compass » General  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    AdminMassimiliano (Admin, MongoDB) commented  · 

    After typing a query, just pressing Enter is enough to execute it.

    Is there a reason for preferring Ctrl+Enter over just Enter?

  2. 3 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  MongoDB for VS Code  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    AdminMassimiliano (Admin, MongoDB) commented  · 

    We intentionally made playgrounds stateless so they are more flexible and each run is repeatable and does not depend on a database being or not being selected.

    However, I see how that can become a pain point for the "run selected lines" use case. For those situations you currently have 2 options:

    1. you repeat use('db') multiple times.
    2. you use db.getSiblingDB('db').getCollection('coll')... so then you can run the specific statement/command only.

  3. 1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  MongoDB for VS Code » View/Edit Documents  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    AdminMassimiliano (Admin, MongoDB) commented  · 

    How would you imagine that to work? Is it just the convenience of the entry point in the collection menu that would take you to an editor or were you thinking of something else?

  4. 1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    started  ·  1 comment  ·  MongoDB Shell » Commands  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    AdminMassimiliano (Admin, MongoDB) commented  · 

    Thank you for bringing that up.

    We are actually in the process to remove all offensive terminology from all products.

    The new MongoDB Shell currently still includes isMaster() for backwards compatibility as it's probably one of the most used commands. However, the new command to do the same thing is db.hello()/rs.hello().

    Properties like slaveDelay will be gone from the server response too.

  5. 2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Compass » General  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    AdminMassimiliano (Admin, MongoDB) commented  · 

    Thank you for your suggestion, Andrew. Let us look into how we can improve that – especially the sorting order.

    In the meantime, I just wanted to mention that there is a way to search for a db or collection. Please see the screenshot attached.

  6. 5 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    under review  ·  1 comment  ·  MongoDB Shell » Commands  ·  Flag idea as inappropriate…  ·  Admin →
    AdminMassimiliano (Admin, MongoDB) shared this idea  · 
  7. 1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Compass » Schema Analysis  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    AdminMassimiliano (Admin, MongoDB) commented  · 

    It is possible to export the schema: https://docs.mongodb.com/compass/current/schema/export. Is that close enough to what you are looking for or are you thinking of something different?

  8. 1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  MongoDB Shell  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    AdminMassimiliano (Admin, MongoDB) commented  · 

    How would you expect that to work?

    If it's just about displaying in your local time zone, in mongosh you could do something like in the screenshot below, by taking advantage of JS' Date object.

  9. 2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Compass  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    AdminMassimiliano (Admin, MongoDB) commented  · 

    If this suggestion refers to autosuggestion when typing a query, that already works (see screenshot attached).

  10. 10 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  Compass » Import/Export  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    AdminMassimiliano (Admin, MongoDB) commented  · 

    A workaround for this is to save the aggregation as a view and then export the view.

    Not as convenient as just exporting the results of the aggregation but possible, at least if user has enough permission to create a view.

  11. 2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Compass » General  ·  Flag idea as inappropriate…  ·  Admin →
    AdminMassimiliano (Admin, MongoDB) supported this idea  · 
  12. 7 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    under review  ·  5 comments  ·  Compass » Queries  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    AdminMassimiliano (Admin, MongoDB) commented  · 

    Just wanted to mention that MongoDB for VS Code could be a viable option for this, if you are looking for an environment that is more editor based: https://www.mongodb.com/products/vs-code.

    We are debating whether we should have similar functionality in Compass though.

    An error occurred while saving the comment
    AdminMassimiliano (Admin, MongoDB) commented  · 

    Compass 1.22 comes with an embedded shell. Is that close enough to what you are looking for?

  13. 1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  Compass » Aggregation pipeline builder  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    AdminMassimiliano (Admin, MongoDB) commented  · 

    This is already possible. In the aggregation builder, you can click on the arrow next to the "+" button, select "Create new pipeline from text" and paste your pipeline into the dialog that appears (docs here: https://docs.mongodb.com/compass/current/import-pipeline-from-text)

  14. 3 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  MongoDB for VS Code » Playground  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    AdminMassimiliano (Admin, MongoDB) commented  · 

    Right now we don't have a built-in formatter. However, there is a workaround: with the beautify extension (https://marketplace.visualstudio.com/items?itemName=HookyQR.beautify) you can format the file without changing the file extension (Cmd/Ctrl + Shift + P > Beautify file > JS).

  15. 3 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    5 comments  ·  Compass » Aggregation pipeline builder  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    AdminMassimiliano (Admin, MongoDB) commented  · 

    It is possible, with Compass, to copy your aggregation from code and paste it into the tool for debugging: https://docs.mongodb.com/compass/master/import-pipeline-from-text. Once you are done debugging it, you can export it back to code and paste into your code editor.

    While this might not be exactly the UX you'd expect, I thought I'd mention that a flavor of this functionality is available in Compass.

    An error occurred while saving the comment
    AdminMassimiliano (Admin, MongoDB) commented  · 

    The aggregation pipeline builder in Compass was designed to simplify the task of building complex pipelines with realtime feedback stage by stage.

    If you are looking for something that is text-based, perhaps playgrounds in MongoDB for VS Code are what you are looking for: https://www.mongodb.com/products/vs-code.

    Another alternative could be the integrated shell (Compass 1.22+) although the editing experience in VS Code playgrounds is much smoother.

  16. 5 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    4 comments  ·  Compass » General  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    AdminMassimiliano (Admin, MongoDB) commented  · 

    I investigated this further. Looks like the server does not return the reason for the document to be invalid. The server team is working on it, targeting MongoDB 4.6: https://jira.mongodb.org/browse/SERVER-20547. Once that is available in the server's response, we will surface it in Compass.

    An error occurred while saving the comment
    AdminMassimiliano (Admin, MongoDB) commented  · 

    Thank you for the feedback. Let us see what we can do about this. If the server gives us more information back along with the error we can see how to surface it best in the UI.

  17. 8 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  MongoDB Shell » Usability  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    AdminMassimiliano (Admin, MongoDB) commented  · 

    The new MongoDB shell (built on the node REPL) includes an editor mode (activated with .editor) that provides multiline editing capabilities.

    Additionally, in the future, we will support using an external editor by setting the EDITOR environment variable similarly to how mongo does it.

    vi mode directly in the REPL is not something we will prioritize now but we'll definitely keep it in mind as a future usability improvement.

    AdminMassimiliano (Admin, MongoDB) shared this idea  · 
  18. 5 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Compass » Aggregation pipeline builder  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    AdminMassimiliano (Admin, MongoDB) commented  · 

    In Compass, you can add a stage after another one with the + button and you can drag and drop stages up and down. Is that enough?

  19. 6 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Compass » General  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    AdminMassimiliano (Admin, MongoDB) commented  · 

    You can switch between tabs with Cmd/Ctrl + Shift + [ and Cmd/Ctrl + Shift + ]

  20. 1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Compass » General  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    AdminMassimiliano (Admin, MongoDB) commented  · 

    Can you be a bit more specific, and maybe post a screenshot? Compass shows 20 documents per page and you can scroll the single page to see all the 20 documents. What would be looking for?

← Previous 1

Feedback and Knowledge Base