Member Junction
    Preparing search index...

    Function FindAlternateBaseViewByPhysicalName

    • Searches across entities for an entity that registers a physical SQL view matching viewName (and optional schemaName) as an EntityAlternateBaseView.

      Used by SQL AST extractors (Query entity extraction, ClientClauseScreen, and ad-hoc SQL read authorization) so queries referencing an alternate base view resolve to its parent entity alongside the matched EntityAlternateBaseViewInfo.

      Parameters

      • entities: readonly EntityInfo[]
      • viewName: string
      • OptionalschemaName: string

      Returns { alternateView: EntityAlternateBaseViewInfo; entity: EntityInfo }