CBLScope
@interface CBLScope : NSObjectA CBLScope represents a scope or namespace of the collections.
The scope implicitly exists when there is at least one collection created under the scope. The default scope is exceptional in that it will always exists even there are no collections under it.
CBLScope Lifespan
A CBLScope object remain valid until either the database is closed or
the scope itself is invalidated as all collections in the scope have been deleted.
- 
                  
                  Scope name. DeclarationObjective-C @property (nonatomic, readonly) NSString *_Nonnull name;
- 
                  
                  Unavailable Not available DeclarationObjective-C - (nonnull instancetype)init;
- 
                  
                  Get all collections in the scope. DeclarationObjective-C - (nullable NSArray<CBLCollection *> *)collections: (NSError *_Nullable *_Nullable)error;ParameterserrorOn return, the error if any. Return ValueCollections in the scope, or nil if an error occurred. 
- 
                  
                  Get a collection in the scope by name. If the collection doesn’t exist, a nil value will be returned. DeclarationObjective-C - (nullable CBLCollection *)collectionWithName:(nonnull NSString *)name error:(NSError *_Nullable *_Nullable) error;ParameterserrorOn return, the error if any. Return ValueCollection for the specified name, or nil if an error occurred. 
 CBLScope Class Reference
        CBLScope Class Reference