organic-mongoose

The organelle provides support for mongoose ORM.

organic-mongoose

The organelle provides support for mongoose ORM.

{
  reactOn: String, /* optional */,
  database: {
    name: String
  },
  recreateDatabase: Boolean, /* optional */
}
  • reactOn - Type of chemical
  • database.name - name of the database to connect and/or create
  • reacreateDatabase - when set upon first connection will clean all the database records.

Once ready and opened connection to mongodb.

And closes any open mongoose connections.