|
Couchbase Lite C++
Couchbase Lite C++ API
|
A collection to replicate, along with its collection-specific replication settings such as filters and a conflict resolver. More...
#include <cbl++/Replicator.hh>
Public Member Functions | |
| CollectionConfiguration (Collection collection) | |
| Creates CollectionConfiguration with the collection. | |
| Collection | collection () const |
| The collection. | |
Public Attributes | |
| fleece::MutableArray | channels = fleece::MutableArray::newArray() |
| Optional set of channels to pull from. | |
| fleece::MutableArray | documentIDs = fleece::MutableArray::newArray() |
| Optional set of document IDs to replicate. | |
| ReplicationFilter | pushFilter |
| Optional callback to filter which docs are pushed. | |
| ReplicationFilter | pullFilter |
| Optional callback to filter which docs are pulled. | |
| ConflictResolver | conflictResolver |
| Optional conflict-resolver callback. | |
A collection to replicate, along with its collection-specific replication settings such as filters and a conflict resolver.
|
inline |
Creates CollectionConfiguration with the collection.
|
inline |
The collection.
| fleece::MutableArray cbl::CollectionConfiguration::channels = fleece::MutableArray::newArray() |
Optional set of channels to pull from.
| ConflictResolver cbl::CollectionConfiguration::conflictResolver |
Optional conflict-resolver callback.
| fleece::MutableArray cbl::CollectionConfiguration::documentIDs = fleece::MutableArray::newArray() |
Optional set of document IDs to replicate.
| ReplicationFilter cbl::CollectionConfiguration::pullFilter |
Optional callback to filter which docs are pulled.
| ReplicationFilter cbl::CollectionConfiguration::pushFilter |
Optional callback to filter which docs are pushed.