A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://couchbase.github.io/couchbase-lite-core/C/html/c4_doc_enumerator_8h_source.html below:

LiteCore: c4DocEnumerator.h Source File

29#ifndef C4_STRICT_COLLECTION_API

#define NODISCARD

Definition CompilerSupport.h:59

#define CBL_CORE_API

Definition c4Compat.h:134

#define C4NULLABLE

Definition c4Compat.h:38

#define C4API

Definition c4Compat.h:114

#define C4_ASSUME_NONNULL_BEGIN

Definition c4Compat.h:36

#define C4API_END_DECLS

Definition c4Compat.h:116

#define C4API_BEGIN_DECLS

Definition c4Compat.h:115

#define C4_ASSUME_NONNULL_END

Definition c4Compat.h:37

struct C4DocEnumerator C4DocEnumerator

Opaque handle to a document enumerator.

Definition c4Base.h:145

uint64_t C4SequenceNumber

A database sequence number, representing the order in which a revision was created.

Definition c4Base.h:91

struct C4Collection C4Collection

Opaque handle to a namespace of documents in an opened database.

Definition c4Base.h:126

struct C4Database C4Database

Opaque handle to an opened database.

Definition c4Base.h:136

NODISCARD CBL_CORE_API C4DocEnumerator * c4db_enumerateAllDocs(C4Database *database, const C4EnumeratorOptions *options, C4Error *outError)

Creates an enumerator ordered by docID.

NODISCARD CBL_CORE_API C4DocEnumerator * c4coll_enumerateAllDocs(C4Collection *collection, const C4EnumeratorOptions *options, C4Error *outError)

Creates an enumerator ordered by docID.

NODISCARD CBL_CORE_API C4DocEnumerator * c4db_enumerateChanges(C4Database *database, C4SequenceNumber since, const C4EnumeratorOptions *options, C4Error *outError)

Creates an enumerator ordered by sequence.

NODISCARD CBL_CORE_API bool c4enum_next(C4DocEnumerator *e, C4Error *outError)

Advances the enumerator to the next document.

NODISCARD CBL_CORE_API C4DocEnumerator * c4coll_enumerateChanges(C4Collection *collection, C4SequenceNumber since, const C4EnumeratorOptions *options, C4Error *outError)

Creates an enumerator ordered by sequence.

NODISCARD CBL_CORE_API C4Document * c4enum_getDocument(C4DocEnumerator *e, C4Error *outError)

Returns the current document, if any, from an enumerator.

void c4enum_close(C4DocEnumerator *e)

Closes an enumeration.

CBL_CORE_API bool c4enum_getDocumentInfo(C4DocEnumerator *e, C4DocumentInfo *outInfo)

Stores the metadata of the enumerator's current document into the supplied C4DocumentInfo struct.

Describes a version-controlled document.

Definition c4DocumentStruct.h:32

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

Definition c4DocEnumeratorTypes.h:52

Options for enumerating over all documents.

Definition c4DocEnumeratorTypes.h:42

An error value.

Definition c4Error.h:133


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4