Git Product home page Git Product logo

Comments (2)

CodingSpiderFox avatar CodingSpiderFox commented on July 20, 2024 1

Thanks,

seeding the DB with sample documents like persons, addresses etc. would be nice like with the "faker" library
Also, a mongo script would be possible for me, and after thinking about it would be better because with the proposal I made the syntax of mongodb commands might become too bloated. I guess only few people would be willing to learn that for just such a small benefit. I guess the mongosh script would be the better option for them, too.

from compass.

Anemy avatar Anemy commented on July 20, 2024

Hi @CodingSpiderFox - to clarify is this something you'd like exposed in the UI? Where might it live?

As I mentioned in the other issue you created, I'm going to close this issue if that's alright, we've moved our feature requests to the feedback forum as they're easier to track there and we'd like to prioritize bugs and issues on GitHub. You can find the feedback forum here: https://feedback.mongodb.com/forums/924283-compass we also just updated the issue template to reflect this - sorry for the inconvenience.
I don't see anything quite like this on the forum, I think most folks probably end up writing a script for mongosh for things like that. Internally here at MongoDB we've been discussing a tool that would augment quick data creation for things like seeding a staging database with realistic amounts of documents. Nothing to show yet. There are also some open source tools for that sort of thing out there in the ecosystem.

As a workaround for now I'd recommend using the embedded shell for inserting multiple documents into different places. This is the same video as the other comment but I think it shows how it might be done:

Oct-27-2022.10-25-08.mp4

from compass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.