addCollection
expect fun addCollection(collection: Collection, config: CollectionConfiguration?): ReplicatorConfiguration(source)
Add a collection used for the replication with an optional collection configuration. If the collection has been added before, the previously added collection and its configuration if specified will be replaced.
Return
this
Parameters
collection
the collection
config
its configuration
actual fun addCollection(collection: Collection, config: CollectionConfiguration?): ReplicatorConfiguration(source)
actual fun addCollection(collection: Collection, config: CollectionConfiguration?): ReplicatorConfiguration(source)