@couchbase/lite-js
    Preparing search index...

    Interface PullConfig

    Configuration parameters for pulling changes from a remote collection.

    interface PullConfig {
        channels?: readonly string[];
        conflictResolver?: PullConflictResolver;
        continuous?: boolean;
        enableAutoPurge?: boolean;
        filter?: ReplicationFilter;
    }
    Index

    Properties

    channels?: readonly string[]

    Optional set of Sync Gateway channels, for server-side filtering.

    conflictResolver?: PullConflictResolver

    Callback that resolves conflicts between local and server docs. If not given, a default resolver is used that chooses the one with the higher revision ID (Most Writes Wins.)

    continuous?: boolean

    If true, stay connected indefinitely.

    enableAutoPurge?: boolean

    If true, automatically purges documents when the user loses access through channel revocation on Sync Gateway. Defaults to true.

    Callback that can skip individual revisions.