Versions in this module Expand all Collapse all v0 v0.2.7 Nov 28, 2026 v0.2.6 Nov 27, 2026 Changes in this version + func ApplyNative(sql string, params []Parameter, values map[string]any) (string, []any, error) + func CheckIdent(label, value string) error + func FilterValues(value any) []any + func Quote(identName string) string + func QuotePath(name string) string + type Aggregation struct + Alias string + Field string + Fn string + type Breakout struct + BinWidth float64 + Field string + Temporal string + type Compiled struct + Args []any + SQL string + type DrillRequest struct + Field string + Join *Join + Kind string + Temporal string + Value any + Values map[string]any + type Expression struct + Alias string + Left string + Op string + Right any + type Filter struct + And []Filter + Field string + Op string + Or []Filter + SegmentID string + Value any + type Join struct + Alias string + Conditions []JoinCondition + Implicit bool + Table *TableRef + Type string + type JoinCondition struct + Left string + Op string + Right string + type MappedValue struct + Field string + Type string + Value any + type Order struct + Dir string + Field string + type Parameter struct + Field string + Name string + Type string + type Query struct + Aggregations []Aggregation + Expressions []Expression + Fields []string + Filters []Filter + GroupBy []Breakout + Having []Filter + Joins []Join + Limit int + OrderBy []Order + Parameters []Parameter + Source Source + Version int + func ApplyMappedFilters(q Query, mappings []MappedValue, now time.Time) (Query, error) + func Clone(q Query) Query + func Drill(q Query, req DrillRequest) (Query, error) + func (q Query) Validate() error + type Source struct + Alias string + DatabaseID string + MetricID string + ModelID string + QuestionID string + Table *TableRef + type TableRef struct + Name string + Schema string