Documentation ¶
Index ¶
- func New(sch *config.Schema) parser.Parser
- func ParseDriverValue(node ast.ExprNode) (*test_driver.ValueExpr, *test_driver.ParamMarkerExpr, bool)
- func ParseJoinToTables(join *ast.Join) []*ast.TableSource
- func ParseTableName(table *ast.TableSource) string
- func ParseWhereToFields(where ast.ExprNode) []*binaryExpr
- type Parser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseDriverValue ¶
func ParseDriverValue(node ast.ExprNode) (*test_driver.ValueExpr, *test_driver.ParamMarkerExpr, bool)
func ParseJoinToTables ¶
func ParseJoinToTables(join *ast.Join) []*ast.TableSource
get list recursively left, right
func ParseTableName ¶
func ParseTableName(table *ast.TableSource) string
func ParseWhereToFields ¶
set column and value to map recursively
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) IsReservedKeyword ¶
Click to show internal directories.
Click to hide internal directories.