Documentation
¶
Index ¶
- func ExpandQuotedSource(buf *strings.Builder, source QuerySource)
- func NewVisitor(db tables) *visitor
- func TranslateColumnType(fullType string) (string, []string)
- type Function
- type Functions
- type Node
- type NodeInfo
- type NodeKey
- type NodeType
- type NodeTypes
- type Parser
- type QuerySource
- type ReturnColumn
- type StmtInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandQuotedSource ¶
func ExpandQuotedSource(buf *strings.Builder, source QuerySource)
func NewVisitor ¶
func NewVisitor(db tables) *visitor
func TranslateColumnType ¶
translateTableColumnType converts mysql database types to Go types, for example "varchar" to "string" and "bigint" to "int64". It returns this parsed data as a Column object.
Types ¶
type Function ¶
type Function = antlrhelpers.Function
type Functions ¶
type Functions = antlrhelpers.Functions
type Node ¶
type Node = antlrhelpers.Node
type NodeInfo ¶
type NodeInfo = antlrhelpers.NodeInfo
type NodeKey ¶
type NodeKey = antlrhelpers.NodeKey
type NodeType ¶
type NodeType = antlrhelpers.NodeType
type NodeTypes ¶
type NodeTypes = antlrhelpers.NodeTypes
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (Parser) ParseFolders ¶
type QuerySource ¶
type QuerySource = antlrhelpers.QuerySource
type ReturnColumn ¶
type ReturnColumn = antlrhelpers.ReturnColumn
type StmtInfo ¶
type StmtInfo = antlrhelpers.StmtInfo
Click to show internal directories.
Click to hide internal directories.