mongo-seeding icon indicating copy to clipboard operation
mongo-seeding copied to clipboard

🌱 The ultimate solution for populating your MongoDB database.

Results 11 mongo-seeding issues
Sort by recently updated
recently updated
newest added

There is an old issue from 2019 #73 about being able to switch between databases. I'm currently trying to do something similar in a multi tenant approach where I want...

:rocket: enhancement
area/core

Like other ORM-based seeders, it would be awesome if the seeding runs would be stored in collection to prevent duplicates within the seeded collection. For example sequelize (mysql orm) is...

:rocket: enhancement
area/core

The [closeConnection](https://github.com/pkosiec/mongo-seeding/blob/a0a46982cb71a0f54db4e0b90e41c5f6f0ccc29f/core/src/database/database.ts#L103) function needs to be reworked to check if the db is connected, without using the deprecated method `isConnected` ``` (node:169094) DeprecationWarning: isConnected is deprecated and will be removed...

:rocket: enhancement
area/core

In near future, I would like to rewrite Mongo Seeding core. It may introduce some breaking changes, as I want to support additional features, without making the API too complex....

:rocket: enhancement
area/core

Let me explain the use for this case. Right now, I have a docker spinning up a mongodb database. Assuming that the database is totally empty I want to seed...

:rocket: enhancement
area/core

I just ran into this issue where all the added data would show up under a single document (with a single `ID`) in MongoDB. After about 30 minutes of tinkering...

:rocket: enhancement
help wanted
area/core

I think it's time to improve the documentation, by reworking it and publishing as a dedicated website. - Rework documentation - Create and publish Docusaurus-based Mongo Seeding website - Use...

:book: documentation

Currently, Mongo Seeding repo uses legacy package management from Lerna, which is a deprecated way to manage dependencies. The repository should be migrated to the NPM workspaces. Learn more here:...

:hammer: maintenance

Given a schema such as this: ``` const mongoose = require('mongoose'); const locationDetailSchema = new mongoose.Schema({ referrer_id: { type: mongoose.Schema.Types.ObjectId, required: true, }, locationType: { type: String, enum: ['USER', 'VENDOR',...

area/core
needs more info

Hello, and thank you for your incredible work. In my current project, I'm using mongo-seeding to populate the database with seed data, employing a Docker image approach. I intend to...

area/docker-image
needs more info