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

Metadata about a document (actually about its current revision.) More...

#include <c4DocEnumeratorTypes.h>

Data Fields

C4DocumentFlags flags
 Document flags.
 
C4HeapString docID
 Document ID.
 
C4HeapString revID
 RevID of current revision.
 
C4SequenceNumber sequence
 Sequence at which doc was last updated.
 
uint64_t bodySize
 Size in bytes of current revision body (as Fleece not JSON)
 
uint64_t metaSize
 Size in bytes of extra metadata.
 
C4Timestamp expiration
 Expiration time, or 0 if none.
 

Detailed Description

Metadata about a document (actually about its current revision.)

Field Documentation

◆ bodySize

uint64_t C4DocumentInfo::bodySize

Size in bytes of current revision body (as Fleece not JSON)

◆ docID

C4HeapString C4DocumentInfo::docID

Document ID.

◆ expiration

C4Timestamp C4DocumentInfo::expiration

Expiration time, or 0 if none.

◆ flags

C4DocumentFlags C4DocumentInfo::flags

Document flags.

◆ metaSize

uint64_t C4DocumentInfo::metaSize

Size in bytes of extra metadata.

◆ revID

C4HeapString C4DocumentInfo::revID

RevID of current revision.

◆ sequence

C4SequenceNumber C4DocumentInfo::sequence

Sequence at which doc was last updated.


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