-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for raw/shell queries #37
Comments
Thanks for the feature request and for using Rolens! I completely agree, and think it would be very useful to include some sort of Mongo Shell functionality so that you could type queries as a shell command. Or maybe it's possible to extract such a command to the query builder. I would love to start working on this now, though I haven't got much time the next couple of weeks. This feature will be shipped with v0.3.0, which will come after v0.2.1 (the upcoming release). When I have time to build this, I'll let you know. The estimate is 2-3 weeks. |
@richard-mihalovic: I've implemented a first, basic version; what do you think? (please see screenshot below, or PR #44) It currently uses a local installation of mongosh (if any). |
Resolves #37: adds a shell tab where the user can write mongo shell scripts and execute them.
Hi. I've just merged #44. Before releasing 3.0, I'll add a 'save query' button which lets you save and re-use queries (just like in the find panel). I'd love to hear what you think about it. Thank you for your feature request! |
Hi, the shell looks promising (nice progress). Some quick thoughts.
I will test more during the week. |
I'll try to fix these points. |
Sorry for the delay. The following items (1, 3, & 4) are fixed now:
Furthermore, there is now an option to switch between horizontal and vertical panels. That may be useful when your script or output contains long lines. The mongosh client turned out to be written in Node.js (TypeScript), which means that Node.js must be installed, and that it comes with a bazillion of Node dependencies. In my humble opinion this is a bit too much to embed :) I added a big blue button to the shell script editor that points to the installation docs, plus some explanatory notes. Would that be sufficient? |
Hi Richard, hope you're doing well. I've just released v0.3 containing the shell functionality (as well as some other improvements). I'm closing this, but feel free to reach out should you have questions / comments! Happy holidays! |
Feature description
Hi. The query builders are nice, but sometimes I like to write queries directly in one text box.
Something like this ...
Importance
Nice to have
The text was updated successfully, but these errors were encountered: