Couchbase Lite C
Couchbase Lite C API
Data Fields
CBLReplicationCollection Struct Reference

The collection and the configuration that can be configured specifically for the replication. More...

#include <cbl/CBLReplicator.h>

Data Fields

CBLCollectioncollection
 The collection. More...
 
CBLConflictResolver _cbl_nullable conflictResolver
 Optional conflict-resolver callback. More...
 
CBLReplicationFilter _cbl_nullable pushFilter
 Optional callback to filter which docs are pushed. More...
 
CBLReplicationFilter _cbl_nullable pullFilter
 Optional callback to validate incoming docs. More...
 
FLArray _cbl_nullable channels
 Optional set of channels to pull from. More...
 
FLArray _cbl_nullable documentIDs
 Optional set of document IDs to replicate. More...
 

Detailed Description

The collection and the configuration that can be configured specifically for the replication.

Field Documentation

◆ channels

FLArray _cbl_nullable CBLReplicationCollection::channels

Optional set of channels to pull from.

Note
Channels are not supported in Peer-to-Peer and Database-to-Database replication.

◆ collection

CBLCollection* CBLReplicationCollection::collection

The collection.

◆ conflictResolver

CBLConflictResolver _cbl_nullable CBLReplicationCollection::conflictResolver

Optional conflict-resolver callback.

◆ documentIDs

FLArray _cbl_nullable CBLReplicationCollection::documentIDs

Optional set of document IDs to replicate.

◆ pullFilter

CBLReplicationFilter _cbl_nullable CBLReplicationCollection::pullFilter

Optional callback to validate incoming docs.

◆ pushFilter

CBLReplicationFilter _cbl_nullable CBLReplicationCollection::pushFilter

Optional callback to filter which docs are pushed.


The documentation for this struct was generated from the following file: