esql

package
v0.0.0-...-95eb28f Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(sql string) (dsl string, table string, err error)

func FormatMulti

func FormatMulti(expr sqlparser.Expr) []any

func FormatSingle

func FormatSingle(expr sqlparser.Expr) any

func IsNumber

func IsNumber(str string) bool

func Number

func Number(expr sqlparser.SQLNode) int

func String

func String(expr sqlparser.SQLNode) string

func StringToFloat

func StringToFloat(str string) float64

func StringToInt

func StringToInt(str string) int

Types

type A

type A []interface{}

type M

type M map[string]interface{}

func FormatSelectExpr

func FormatSelectExpr(ss sqlparser.SelectExprs) (M, error)

func (M) String

func (m M) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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