Documentation
¶
Overview ¶
Package analyticsquery executes read-only GuardSQL analytics queries over OmniRoadmap's canonical item model.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute(ctx context.Context, s *store.DoltStore, req dashboardir.AnalyticsQueryRequest) (dashboardir.AnalyticsQueryResult, error)
Execute reads canonical items and the assessment corpus (current-cycle assessments, profile assignments, and the latest compiled ranking) from the store and executes a read-only GuardSQL query against whichever entity the query names.
func ExecuteItems ¶
func ExecuteItems(items []provider.Item, req dashboardir.AnalyticsQueryRequest) (dashboardir.AnalyticsQueryResult, error)
ExecuteItems executes a read-only GuardSQL query against canonical items only -- no assessment-family entities are available (opportunity_ assessments/profile_assignments still resolve as valid, empty entities). Kept for standalone items-only callers and tests.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.