Documentation
¶
Overview ¶
SQL Rewriter replacing star-expressions with fields names.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Substitute ¶
func Substitute(catalog LiteCatalog, node sqlparser.SQLNode, caseSensitive bool) error
func SubstituteStr ¶
func SubstituteStr(catalog LiteCatalog, str string, caseSensitive bool) (string, error)
Types ¶
type CatalogImpl ¶
func (*CatalogImpl) Init ¶
func (c *CatalogImpl) Init()
func (CatalogImpl) LookupTable ¶
func (c CatalogImpl) LookupTable(table sqlparser.TableName) []string
func (CatalogImpl) PutTable ¶
func (c CatalogImpl) PutTable(tn LiteTN, cols []string)
func (CatalogImpl) PutTable0 ¶
func (c CatalogImpl) PutTable0(tn string, cols []string)
type LiteCatalog ¶
Click to show internal directories.
Click to hide internal directories.