Documentation
¶
Index ¶
- func Convert(sql string) (dsl string, table string, err error)
- func FormatMulti(expr sqlparser.Expr) []any
- func FormatSelectExpr(ss sqlparser.SelectExprs) (map[string]any, error)
- func FormatSingle(expr sqlparser.Expr) any
- func IsNumber(str string) bool
- func Number(expr sqlparser.SQLNode) (int, error)
- func String(expr sqlparser.SQLNode) string
- func StringToFloat(str string) (float64, error)
- func StringToInt(str string) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatMulti ¶
func FormatSelectExpr ¶
func FormatSelectExpr(ss sqlparser.SelectExprs) (map[string]any, error)
func FormatSingle ¶
func StringToFloat ¶
func StringToInt ¶
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.