Documentation ¶
Index ¶
- func CollectStmtScopes(rootNode ast.StmtNode) ([]*dparser.StmtScope, []error)
- func CollectTableNames(rootNode ast.StmtNode) ([]string, []error)
- func CollectTableSchemas(db *mysql.DB, dbName string, tables []string) ([]*dparser.TableSchema, error)
- func ListPossibleIndexes(db *mysql.DB, dbName string, rootNode ast.StmtNode) ([]*dmodel.IndexTarget, []error)
- func NewUnexpectedChildError(p, c ast.Node) error
- type UnexpectedChildError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectStmtScopes ¶
func CollectTableSchemas ¶
func ListPossibleIndexes ¶
func NewUnexpectedChildError ¶
Types ¶
type UnexpectedChildError ¶
type UnexpectedChildError struct {
// contains filtered or unexported fields
}
func (*UnexpectedChildError) Error ¶
func (uc *UnexpectedChildError) Error() string
Click to show internal directories.
Click to hide internal directories.