builtin

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateFuncCallExpr

func GenerateFuncCallExpr(table *types.Table, args int, stable bool) ast.ExprNode

GenerateFuncCallExpr generate random builtin chain

func GenerateHintExpr

func GenerateHintExpr(table *types.Table) (h *ast.TableOptimizerHint)

GenerateHintExpr ...

func GenerateTimestampFuncCallExpr

func GenerateTimestampFuncCallExpr() *ast.FuncCallExpr

GenerateTimestampFuncCallExpr generate builtin func which will return date type

func GenerateTypeFuncCallExpr

func GenerateTypeFuncCallExpr(t string) *ast.FuncCallExpr

GenerateTypeFuncCallExpr generate FuncCallExpr by given type

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL