MongoDbPersistence<T> constructor

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

Creates a new instance of the persistence component.

  • collection (optional) a collection name.

Implementation

MongoDbPersistence([String? collection]) {
  collectionName = collection;
}