LiteCore
Couchbase Lite cross-platform core implementation
Loading...
Searching...
No Matches
C4CollectionChange Struct Reference

Represents a change to a document in a collection, as returned from c4dbobs_getChanges. More...

#include <c4DocumentTypes.h>

Data Fields

C4HeapString docID
 The document's ID.
 
C4HeapString revID
 The current revision ID (or null if doc was purged)
 
C4SequenceNumber sequence
 The current sequence number (or 0 if doc was purged)
 
uint32_t bodySize
 The size of the revision body in bytes.
 
C4RevisionFlags flags
 The current revision's flags.
 

Detailed Description

Represents a change to a document in a collection, as returned from c4dbobs_getChanges.

Field Documentation

◆ bodySize

uint32_t C4CollectionChange::bodySize

The size of the revision body in bytes.

◆ docID

C4HeapString C4CollectionChange::docID

The document's ID.

◆ flags

C4RevisionFlags C4CollectionChange::flags

The current revision's flags.

◆ revID

C4HeapString C4CollectionChange::revID

The current revision ID (or null if doc was purged)

◆ sequence

C4SequenceNumber C4CollectionChange::sequence

The current sequence number (or 0 if doc was purged)


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