Versions in this module Expand all Collapse all v0 v0.1.0 Jul 22, 2026 Changes in this version + func ArgsEqual(a, b []ArgValue) bool + type ArgValue struct + Name string + Position int + Raw any + Type string + Value string + type CacheKey struct + ArgKey string + TemplateID TemplateID + func NewCacheKey(templateID TemplateID, args []ArgValue) CacheKey + type FeatureMap map[string]float64 + type Operation uint8 + const OpSelect + const OpUtility + const OpWrite + type Prediction struct + BorrowedFrom TemplateID + Confidence float64 + ContextOrder int + Probability float64 + Source string + StructuralOverlap []string + StructuralSimilarity float64 + TemplateID TemplateID + type QueryEvent struct + Args []ArgValue + Cacheable bool + DBLatency time.Duration + EventID uint64 + Operation Operation + RequestID string + ResultBytes int + Route string + SessionID string + TemplateID TemplateID + type StructuralNeighbor struct + Overlap []string + Similarity float64 + TemplateID TemplateID + type Template struct + ArgNames []string + Cacheable bool + CanonicalSQL string + DBLatency time.Duration + EstimatedCost time.Duration + ExecutableSQL string + ExecutableSQLReady bool + ExpectedRows int + Fingerprint string + FingerprintHash uint64 + ID TemplateID + Name string + Operation Operation + ReadTables []string + ResultBytes int + StructuralFeatures FeatureMap + StructuralFeaturesKnown bool + TableDependenciesKnown bool + WriteTables []string + type TemplateID uint64