Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cacheability ¶
type Cacheability int
const ( Static Cacheability = iota Immutable Mutable UnknownCacheability )
func (Cacheability) Color ¶
func (c Cacheability) Color(str string) string
func (Cacheability) ColoredString ¶
func (c Cacheability) ColoredString() string
func (Cacheability) String ¶
func (c Cacheability) String() string
type JoinFlatter ¶
type JoinFlatter struct {
// contains filtered or unexported fields
}
type Query ¶
type Query struct { Kind QueryKind Raw string MainTable string Tables []string FilterColumnMap map[string]mapset.Set[string] }
func ParseString ¶
type QueryGroup ¶
func NewQueryGroup ¶
func NewQueryGroup() *QueryGroup
func NewQueryGroupFrom ¶
func NewQueryGroupFrom(queries ...*Query) *QueryGroup
func (*QueryGroup) Queries ¶
func (qg *QueryGroup) Queries() []*Query
type QueryGroups ¶
type QueryGroups []*QueryGroup
func (QueryGroups) AllTableMap ¶
func (qgs QueryGroups) AllTableMap() map[string]*Table
type QueryKind ¶
type QueryKind int
func (QueryKind) ColorAttribute ¶
func (QueryKind) ColoredString ¶
type Table ¶
type Table struct { Name string // contains filtered or unexported fields }
func (*Table) Cacheability ¶
func (t *Table) Cacheability() Cacheability
func (*Table) PartitionKeys ¶
Click to show internal directories.
Click to hide internal directories.