#define CBLAPI
Definition: CBL_Compat.h:104
#define _cbl_nullable
Definition: CBL_Compat.h:92
#define CBL_CAPI_BEGIN
Definition: CBL_Compat.h:105
#define CBL_CAPI_END
Definition: CBL_Compat.h:106
#define CBL_PUBLIC
Definition: CBL_Compat.h:123
struct CBLCollection CBLCollection
A collection, a document container.
Definition: CBLBase.h:194
struct CBLDatabase CBLDatabase
A connection to an open database.
Definition: CBLBase.h:182
#define CBL_REFCOUNTED(TYPE, NAME)
Definition: CBLBase.h:170
FLString CBLScope_Name(const CBLScope *scope)
Returns the name of the scope.
CBL_PUBLIC const FLString kCBLDefaultScopeName
The default scope's name.
CBLDatabase * CBLScope_Database(const CBLScope *scope)
Returns the scope's database.
struct CBLScope CBLScope
A collection's scope.
Definition: CBLBase.h:188
CBLCollection *_cbl_nullable CBLScope_Collection(const CBLScope *scope, FLString collectionName, CBLError *_cbl_nullable outError)
Returns an existing collection in the scope with the given name.
FLMutableArray _cbl_nullable CBLScope_CollectionNames(const CBLScope *scope, CBLError *_cbl_nullable outError)
Returns the names of all collections in the scope.
struct _FLArray * FLMutableArray
A reference to a mutable array.
Definition: FLBase.h:39
A struct holding information about an error.
Definition: CBLBase.h:104
A simple reference to a block of memory.
Definition: FLSlice.h:45