MongoDbPersistence<T> constructor

MongoDbPersistence<T>(
  1. [String collection]
)

Creates a new instance of the persistence component.

  • collection (optional) a collection name.