CollectionConfiguration
The collection configuration that can be configured specifically for the replication.
Constructors
Properties
The conflict resolver.
A collection of document IDs to filter: if not null, only documents with these IDs will be pushed and/or pulled.
The filter used to determine whether a document will be pulled from the remote endpoint.
The filter used to determine whether a document will be pushed to the remote endpoint.
Functions
Create a CollectionConfiguration, overriding the receiver's values with the passed parameters:
Sets a collection of Sync Gateway channel names from which to pull Documents. If unset, all accessible channels will be pulled. Default is empty: pull from all accessible channels.
Sets the conflict resolver.
Sets a collection of document IDs to filter by: if given, only documents with these IDs will be pushed and/or pulled.
Sets a filter object for validating whether the documents can be pulled from the remote endpoint. Only documents for which the object returns true are replicated.
Sets a filter object for validating whether the documents can be pushed to the remote endpoint.