Couchbase Lite C
Couchbase Lite C API
Functions
CBLScope.h File Reference
#include "CBLBase.h"

Go to the source code of this file.

Functions

static const CBLScopeCBLScope_Retain (const CBLScope *t)
 
static void CBLScope_Release (const CBLScope *t)
 
Scope Accessors

Getting information about a scope.

FLString CBLScope_Name (const CBLScope *scope)
 Returns the name of the scope. More...
 
CBLDatabaseCBLScope_Database (const CBLScope *scope)
 Returns the scope's database. More...
 
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. More...
 
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. More...
 

Variables

Default Scope Name

The default scope name constant.

CBL_PUBLIC const FLString kCBLDefaultScopeName
 The default scope's name. More...