prorm API Reference
    Preparing search index...

    Class ScopeManager

    Scope manager for model scoping

    Index
    • Check if a scope exists

      Parameters

      • name: string

      Returns boolean

    • Remove a scope by name

      Parameters

      • name: string

      Returns boolean

    • Get the count of defined scopes

      Returns number

    • Get the current active scope name

      Returns string | null