Versions in this module Expand all Collapse all v0 v0.1.3 Jun 4, 2023 Changes in this version + var MARSHAL_COMMENT_PREFIX = ... + var RUNE_QUOTE = '`' + func ForTable(table odbc.Table) string + func MarshalSelector(selector Selector) (string, error) + type Builder map[string]TableBuilder + func NewBuilder(pb pathbuilder.Pathbuilder) Builder + func (b Builder) Apply(server *odbc.Server) error + type ColumnSelector struct + Column Identifier + type Identifier string + func TokenizeIdentifiers(value string) (results []Identifier) + func (identifier Identifier) Escape() (escaped string, ok bool) + func (identifier Identifier) Escaped() string + func (identifier Identifier) Format(f fmt.State, verb rune) + func (identifier Identifier) Quote() (quoted string, ok bool) + func (identifier Identifier) Quoted() string + type IdentifierFactory Identifier + func (idf IdentifierFactory) Get(value string) Identifier + type JoinSelector struct + Column Identifier + OurKey Identifier + Table Identifier + TheirKey Identifier + type Many2ManySelector struct + Column Identifier + OurKey Identifier + OurThroughKey Identifier + Table Identifier + TheirKey Identifier + TheirThroughKey Identifier + Through Identifier + type Selector interface + func UnmarshalSelector(data string) (selector Selector, err error) + type TableBuilder struct + Disinct bool + Fields map[string]Selector + ID string + Order int + TableName string + func NewTableBuilder(bundle pathbuilder.Bundle) TableBuilder + func (tb *TableBuilder) UnmarshalJSON(data []byte) error + func (tb TableBuilder) Apply(table *odbc.Table) error + func (tb TableBuilder) Build() (selectS, appendS string, err error) + func (tb TableBuilder) MarshalJSON() ([]byte, error)