Couchbase Lite C
Couchbase Lite C API
Loading...
Searching...
No Matches
CBLCollectionConfiguration 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 (Required)
CBLConflictResolver _cbl_nullable conflictResolver
 Conflict-resolver callback.
CBLReplicationFilter _cbl_nullable pushFilter
 Callback to filter which docs are pushed.
CBLReplicationFilter _cbl_nullable pullFilter
 Callback to filter which docs are pulled.
FLArray _cbl_nullable channels
 Set of channels to pull from.
FLArray _cbl_nullable documentIDs
 Set of document IDs to replicate.

Detailed Description

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

Field Documentation

◆ channels

FLArray _cbl_nullable CBLCollectionConfiguration::channels

Set of channels to pull from.

Only applicable when replicating with Sync Gateway.

◆ collection

CBLCollection* CBLCollectionConfiguration::collection

The collection (Required)

◆ conflictResolver

CBLConflictResolver _cbl_nullable CBLCollectionConfiguration::conflictResolver

Conflict-resolver callback.

◆ documentIDs

FLArray _cbl_nullable CBLCollectionConfiguration::documentIDs

Set of document IDs to replicate.

◆ pullFilter

CBLReplicationFilter _cbl_nullable CBLCollectionConfiguration::pullFilter

Callback to filter which docs are pulled.

◆ pushFilter

CBLReplicationFilter _cbl_nullable CBLCollectionConfiguration::pushFilter

Callback to filter which docs are pushed.


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