Member Junction
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • Optionalprovider: IMetadataProvider

        Optional metadata provider to bind this instance (and all of its metadata/view operations) to. Server-side callers servicing per-request connections MUST pass their request-scoped provider (e.g. this.ProviderToUse from a BaseEntity subclass) — relying on the global default silently uses the wrong connection in multi-provider scenarios. Falls back to the global default provider when omitted.

      Returns VectorBase

    Properties

    _currentUser: UserInfo
    _metadata: Metadata
    _provider: IMetadataProvider = null
    _runView: RunView

    Accessors

    • get Metadata(): IMetadataProvider

      Provider-aware metadata access: returns the explicit provider when one was supplied (constructor or Provider setter), otherwise the global default. All metadata operations in this class hierarchy go through this getter so a bound instance never leaks onto the global provider.

      Returns IMetadataProvider

    Methods

    • Returns true when PageRecordsByEntityID can serve the given entity via keyset (seek) pagination — i.e. the entity has a single-column PK on a comparable type. Callers iterating large tables should consult this and pass AfterKey when true.

      Parameters

      • entityID: string | number

      Returns boolean

    • Type Parameters

      Parameters

      • entityName: string
      • extraFilter: string

      Returns Promise<T>

    • Saving an Entity in any vector related package needs the CurrentUser property to be set on the entity So this is a simple wrapper to set it before saving

      Parameters

      Returns Promise<boolean>