light

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2022 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Proto2SQL

func Proto2SQL(pb *xlight.QueryStmt) string

Proto2SQL returns SQL query string from protobuf message

func QueryTo

func QueryTo(stmt *xast.QueryStmt) *xlight.QueryStmt

QueryTo translates a xast query statement into xlight statement

func SQL2Proto

func SQL2Proto(str string) (*xlight.QueryStmt, error)

SQL2Proto returns protobuf message from SQL query string

func XQueryTo

func XQueryTo(stmt *xlight.QueryStmt) *xast.QueryStmt

QueryTo translates a xlight query statement into xast statement

Types

This section is empty.

Jump to

Keyboard shortcuts

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