MongoDbPersistence<T> constructor
MongoDbPersistence<T> ([
- String? collection
Creates a new instance of the persistence component.
collection
(optional) a collection name.
Implementation
MongoDbPersistence([String? collection]) {
collectionName = collection;
}