Versions in this module Expand all Collapse all v1 v1.1.0 Sep 28, 2026 Changes in this version + const ViewControlInMemory type Column + Required bool type Parameter + FormatSelector bool type Relation + Tag string type Selector + Specified []SelectorProperty + func (s *Selector) PermissionSpecified(property SelectorProperty) bool + func (s *Selector) SetPermission(property SelectorProperty, enabled bool) error type TypeRef + SlicePointer bool type View + InMemory bool + func (v *View) EnableQuerySelector(property SelectorProperty) error + func (v *View) RuntimeSource() *ViewSource v1.0.0 Sep 22, 2026 Changes in this version + const MatchReadAll + const MatchReadDerived + const MatchReadMatched + const RelationKindDerived + const RelationKindSubview + const ViewControlAllowNulls + const ViewControlAllowedOrder + const ViewControlBatchConcurrency + const ViewControlBatchSize + const ViewControlCacheWarmup + const ViewControlCardinality + const ViewControlConcurrency + const ViewControlDest + const ViewControlEntityHooks + const ViewControlGroupable + const ViewControlGrouping + const ViewControlMatch + const ViewControlOrderBy + const ViewControlPartitioner + const ViewControlPublish + const ViewControlSelectorCriteria + const ViewControlSelectorDefaultLimit + const ViewControlSelectorDefaultOrder + const ViewControlSelectorFields + const ViewControlSelectorFilterable + const ViewControlSelectorLimit + const ViewControlSelectorNamespace + const ViewControlSelectorNoLimit + const ViewControlSelectorOffset + const ViewControlSelectorOrderBy + const ViewControlSelectorPage + const ViewControlSelectorSQLMethods + const ViewControlSelfRef + const ViewControlSetLimit + const ViewControlType + const ViewControlUseCache + const ViewControlUseConnector + func CloneSharedCases(caseSets map[string][]*CacheWarmupCase) map[string][]*CacheWarmupCase + func DerivedMCPToolName(route *Route, fallback, suffix string) string + func HashSnapshot(snapshot Snapshot) (string, error) + func MCPRoute(route *Route) bool + func MarshalSnapshot(snapshot Snapshot) ([]byte, error) + func PublicRoute(route *Route) bool + type BindSource struct + Kind string + Name string + func (s BindSource) RequestValue() bool + type CORS struct + AllowCredentials *bool + AllowHeaders *[]string + AllowMethods *[]string + AllowOrigins *[]string + ExposeHeaders *[]string + MaxAge *int64 + func DefaultCORS() *CORS + func (c *CORS) Resolve(parent *CORS) *CORS + type CacheSettings struct + Enabled bool + FailedRequestLimit int + Location string + MaxRetries int + Name string + Provider string + ResetFailuresInMs int + SharedCases map[string][]*CacheWarmupCase + SleepBetweenRetriesInMs int + SocketTimeoutInMs int + TTL string + TimeToLiveMs int + TotalTimeoutInMs int + Warmup *CacheWarmupSettings + Warmups []*CacheWarmupSettings + func (c *CacheSettings) Clone() *CacheSettings + func (c *CacheSettings) EffectiveWarmups() ([]*CacheWarmupSettings, error) + func (c *CacheSettings) HasWarmup() bool + type CacheWarmupCase struct + FieldNames []string + Set []*CacheWarmupParam + func (c *CacheWarmupCase) Clone() *CacheWarmupCase + type CacheWarmupParam struct + ExcludeDefault bool + Name string + Values []string + func (p *CacheWarmupParam) Clone() *CacheWarmupParam + type CacheWarmupSettings struct + CaseRefs []string + Cases []*CacheWarmupCase + Connector string + FieldNames []string + IndexColumn string + IndexMeta bool + IndexParameter string + Limit *int + MaxCases *int + Name string + Priority int + func EffectiveCacheWarmups(warmup *CacheWarmupSettings, warmups []*CacheWarmupSettings, ...) ([]*CacheWarmupSettings, error) + func (s *CacheWarmupSettings) Clone() *CacheWarmupSettings + func (s *CacheWarmupSettings) EffectiveName() string + type Cardinality string + const CardinalityMany + const CardinalityOne + func NormalizeCardinality(value Cardinality) (Cardinality, error) + func (c *Cardinality) UnmarshalJSON(data []byte) error + type Codec struct + Args []string + Body string + OutputType string + type Column struct + AutoIncrement bool + Codec *Codec + ConcurrencyToken bool + DatabaseType string + Default *string + DeleteMarker bool + ExplicitType bool + Expression string + Groupable *bool + Name string + NameInferred bool + NotNull bool + Nullable bool + PrimaryKey bool + Source string + Tag string + Type TypeRef + Unique bool + func (c *Column) Clone() *Column + func (c *Column) EffectiveType() TypeRef + type Component struct + Description string + Documentation xdocs.Source + Example string + Key Key + Name string + Parameters []*Parameter + RootView *View + Routes []*Route + Settings *Settings + Static *StaticContent + TypeContext *TypeContext + Views []*View + func (c *Component) CacheWarmup() *CacheWarmupSettings + func (c *Component) CacheWarmups() ([]*CacheWarmupSettings, error) + func (c *Component) Clone() *Component + func (c *Component) RootSQL() string + func (c *Component) RootSource() *ViewSource + type CubeComposeSettings struct + Enabled bool + MCPTool *bool + MaxCubes int + MaxLimit int + TimeoutMs int + func (s *CubeComposeSettings) Clone() *CubeComposeSettings + func (s *CubeComposeSettings) Normalize() *CubeComposeSettings + type DeclarationKind string + const DeclarationKindDefine + const DeclarationKindSet + type Diagnostic struct + Code string + Line int + Message string + Path string + Severity Severity + Subject *Key + func (d Diagnostic) IsError() bool + type EmbeddedSQLRef struct + Path string + Raw string + type FieldPath string + type GenerationSettings struct + DescriptionResource string + FilePrefix string + HandlerFile string + InputFile string + LifecycleFile string + LinksFile string + MutationFile string + OutputFile string + ResourcesFile string + RouterFile string + SQLFiles map[string]string + SupportFiles map[string]string + Template string + TemplateFile string + ViewFile string + func (s *GenerationSettings) Clone() *GenerationSettings + func (s *GenerationSettings) File(role, fallback string) string + func (s *GenerationSettings) SQLFile(role, fallback string) string + func (s *GenerationSettings) SQLFileFor(role, rootRole, fallback string) string + func (s *GenerationSettings) SetSQLFile(role, file string) error + func (s *GenerationSettings) SetSupportFile(role, file string) error + func (s *GenerationSettings) ValidateFilePrefix() error + func (s GenerationSettings) IsZero() bool + type ImportSpec struct + Alias string + Package string + type Key struct + Kind Kind + Name string + Scope string + func ParseKey(input string) (Key, error) + func (k Key) String() string + type Kind string + const KindComponent + const KindView + type MCPExposure struct + Description string + DescriptionPath string + Kind MCPExposureKind + MIMEType string + Name string + func (e *MCPExposure) Clone() *MCPExposure + func (e *MCPExposure) Identity(component *Component, route *Route) string + type MCPExposureKind string + const MCPExposureResource + const MCPExposureResourceTemplate + const MCPExposureTool + type MatchStrategy string + type OutputSettings struct + Exclude []string + OmitEmpty bool + Title string + type Parameter struct + Activation *RouteActivation + Async bool + Cacheable *bool + Cardinality string + Codec *Codec + Declaration DeclarationKind + DeclarationSQL string + Description string + EmitOutput bool + ErrorMessage string + ErrorStatusCode int + Example string + ExpectedReturned *int + MCP *bool + MaxAllowedRecords *int + MinAllowedRecords *int + Name string + OutputTypeExpr string + PathMCP *bool + Predicates []*Predicate + QuerySelector *QuerySelectorBinding + Raw string + Required *bool + ResourceRef string + Scope string + Source BindSource + Tag string + TypeExpr string + Value *string + When string + WireSchema *WireSchema + WireSchemas map[string]*WireSchema + With string + func EffectiveParameters(parameters []*Parameter) []*Parameter + func (p *Parameter) Clone() *Parameter + func (p *Parameter) Identity() string + func (p *Parameter) IsDerivedOutput() bool + func (p *Parameter) IsTransportInput() bool + type Partitioning struct + Arguments []string + Concurrency int + Type string + func (p *Partitioning) Clone() *Partitioning + type Predicate struct + ApplyWhenAbsent bool + Args []string + Group int + Name string + func (p *Predicate) UnmarshalJSON(data []byte) error + type Provenance struct + Column int + Imported bool + Line int + Path string + Source string + type QuerySelectorBinding struct + Property SelectorProperty + View string + type Relation struct + Cardinality Cardinality + Holder string + Join string + Kind RelationKind + MatchStrategy MatchStrategy + Name string + On []*RelationLink + ParentNamespace string + View *View + type RelationKind string + func (k *RelationKind) UnmarshalJSON(data []byte) error + type RelationLink struct + ChildColumn string + ChildNamespace string + ParentColumn string + ParentNamespace string + type ReportInputLayout struct + Dimensions string + Filters string + Limit string + Measures string + Offset string + OrderBy string + func (s *ReportInputLayout) Clone() *ReportInputLayout + type ReportSettings struct + Compose *CubeComposeSettings + Enabled bool + InputLayout *ReportInputLayout + LinkedInputType string + MCPTool *bool + func (s *ReportSettings) Clone() *ReportSettings + type ResourceFolder struct + Namespace string + Root string + Skills []string + URIPrefix string + func (f ResourceFolder) Clone() ResourceFolder + func (f ResourceFolder) Validate() error + type Route struct + APIKeyHeader string + APIKeyValue string + CORS *CORS + Handler string + Internal bool + MCP []*MCPExposure + Marshaller string + Method string + Name string + Path string + func (r *Route) Clone() *Route + type RouteActivation struct + URI string + func (a *RouteActivation) Matches(path string) bool + type RouteRef struct + Method string + Path string + func ParseRouteRef(value string) (RouteRef, error) + func (r RouteRef) String() string + type SQLMethod struct + Args []string + Name string + type Selector struct + AllowCriteria bool + AllowFields bool + AllowLimit bool + AllowOffset bool + AllowOrderBy bool + AllowPage bool + DefaultLimit int + DefaultOrder string + Filterable []FieldPath + Namespace string + NoLimit bool + OrderAliases map[string]FieldPath + Orderable []FieldPath + SQLMethods []SQLMethod + func (s *Selector) Clone() *Selector + type SelectorProperty string + const SelectorPropertyCriteria + const SelectorPropertyFields + const SelectorPropertyLimit + const SelectorPropertyOffset + const SelectorPropertyOrderBy + const SelectorPropertyPage + func SelectorPropertyForParam(name string) (SelectorProperty, bool) + type SelfReference struct + Child string + Holder string + Parent string + type Settings struct + Cache *CacheSettings + CaseFormat string + Const map[string]string + DateFormat string + DefaultConnector string + Format string + Generation *GenerationSettings + IgnoreEmptyQueryParameters *bool + InputType string + JSONMarshalType string + JSONUnmarshalType string + MCPFolders []ResourceFolder + Mutation string + Output *OutputSettings + OutputType string + Report *ReportSettings + SequenceStrategy string + WarmupTarget *RouteRef + XMLUnmarshalType string + func (s *Settings) Clone() *Settings + func (s *Settings) IsZero() bool + func (s *Settings) ValidateSequenceStrategy() error + type Severity string + const SeverityError + const SeverityInfo + const SeverityWarn + type Snapshot struct + Diagnostics []Diagnostic + Keys []Key + Meta []Provenance + Types []TypeRef + Version string + type StaticContent struct + APIKeyHeader string + APIKeyValue string + CORS *CORS + ContentURL string + Namespace string + Path string + Root string + func (s *StaticContent) Clone() *StaticContent + func (s *StaticContent) Validate() error + type TypeContext struct + DefaultPackage string + Imports []ImportSpec + PackagePath string + func (c *TypeContext) Clone() *TypeContext + type TypeRef struct + Cardinality Cardinality + Name string + Package string + Pointer bool + func (t TypeRef) IsZero() bool + type View struct + AllowNulls *bool + Auxiliary bool + BatchConcurrency int + BatchSize int + Cardinality Cardinality + Columns []*Column + Dest string + EntityHooks string + Groupable *bool + Key Key + Name string + Namespace string + Partitioning *Partitioning + PublishParent bool + RelationalConcurrency int + Relations []*Relation + Selector *Selector + SelfReference *SelfReference + Source *ViewSource + TypeName string + func (v *View) CanonicalName() string + func (v *View) Clone() *View + func (v *View) Identity() (string, error) + type ViewBindings struct + CacheName string + CacheWarmup string + Connector string + func (b *ViewBindings) Clone() *ViewBindings + func (b *ViewBindings) IsZero() bool + type ViewControls struct + Limit *int + Offset *int + OrderBy string + func (c *ViewControls) Clone() *ViewControls + func (c *ViewControls) IsZero() bool + type ViewSource struct + Bindings *ViewBindings + Controls *ViewControls + Embeds []*EmbeddedSQLRef + SQL string + Table string + URI string + func (s *ViewSource) Clone() *ViewSource + type WireSchema struct + Format string + Nullable bool + Type string + func (s *WireSchema) Clone() *WireSchema