Class Scope

Exposes the operations which are available to be performed against a scope. Namely the ability to access to Collections for performing operations.

Accessors

  • get name(): string
  • The name of the scope this Scope object references.

    Returns string

Methods

  • Creates a Collection object reference to a specific collection.

    Parameters

    • collectionName: string

      The name of the collection to reference.

    Returns Collection

  • Returns a ScopeEventingFunctionManager which can be used to manage the eventing functions of this scope. Uncommitted: This API is subject to change in the future.

    Returns ScopeEventingFunctionManager