dbService top-level property

DatastoreDB get dbService

Access the DatastoreDB object available in the current service scope.

The returned object will be the one which was previously registered with registerDbService within the current (or a parent) service scope.

Accessing this getter outside of a service scope will result in an error. See the package:gcloud/service_scope.dart library for more information.

Implementation

DatastoreDB get dbService => ss.lookup(_dbKey) as DatastoreDB;