LiteCore
Couchbase Lite cross-platform core implementation
Loading...
Searching...
No Matches
Functions
c4DocEnumerator.h File Reference
#include "c4DocEnumeratorTypes.h"

Go to the source code of this file.

Functions

void c4enum_close (C4DocEnumerator *e)
 Closes an enumeration.
 
NODISCARD CBL_CORE_API C4DocEnumeratorc4db_enumerateChanges (C4Database *database, C4SequenceNumber since, const C4EnumeratorOptions *options, C4Error *outError)
 Creates an enumerator ordered by sequence.
 
NODISCARD CBL_CORE_API C4DocEnumeratorc4db_enumerateAllDocs (C4Database *database, const C4EnumeratorOptions *options, C4Error *outError)
 Creates an enumerator ordered by docID.
 
NODISCARD CBL_CORE_API C4DocEnumeratorc4coll_enumerateChanges (C4Collection *collection, C4SequenceNumber since, const C4EnumeratorOptions *options, C4Error *outError)
 Creates an enumerator ordered by sequence.
 
NODISCARD CBL_CORE_API C4DocEnumeratorc4coll_enumerateAllDocs (C4Collection *collection, const C4EnumeratorOptions *options, C4Error *outError)
 Creates an enumerator ordered by docID.
 
NODISCARD CBL_CORE_API bool c4enum_next (C4DocEnumerator *e, C4Error *outError)
 Advances the enumerator to the next document.
 
NODISCARD CBL_CORE_API C4Documentc4enum_getDocument (C4DocEnumerator *e, C4Error *outError)
 Returns the current document, if any, from an enumerator.
 
CBL_CORE_API bool c4enum_getDocumentInfo (C4DocEnumerator *e, C4DocumentInfo *outInfo)
 Stores the metadata of the enumerator's current document into the supplied C4DocumentInfo struct.