Couchbase Lite C
Couchbase Lite C API
Loading...
Searching...
No Matches
CBLScope.h File Reference
#include "CBLBase.h"

Go to the source code of this file.

Functions

CBLINLINE const CBLScopeCBLScope_Retain (const CBLScope *_cbl_nullable t)
CBLINLINE void CBLScope_Release (const CBLScope *_cbl_nullable t)
Scope Accessors

Getting information about a scope.

FLString CBLScope_Name (const CBLScope *scope)
 Returns the name of the scope.
CBLDatabaseCBLScope_Database (const CBLScope *scope)
 Returns the scope's database.
Collections

Accessing the collections under the scope.

FLMutableArray _cbl_nullable CBLScope_CollectionNames (const CBLScope *scope, CBLError *_cbl_nullable outError)
 Returns the names of all collections in the scope.
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.

Variables

Default Scope Name

The default scope name constant.

CBL_PUBLIC const FLString kCBLDefaultScopeName
 The default scope's name.