Scope class Core

Exposes the operations which are available to be performed against a scope.

Namely the ability to access Collections.

Constructors

Scope({required String name, required Bucket bucket})

Properties

defaultCollection Collection
The Collection which can be used to perform operations against the default collection.
no setter
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the scope.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

collection(String name) Collection
Returns a Collection which can be used to perform operations against the collection with the given name.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query(String statement, [QueryOptions? options]) Future<QueryResult>
Executes a SQL++ query against the cluster, scoped to this scope.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited