ast

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlterTableTo added in v0.2.2

func AlterTableTo(stmt *xast.AlterTableStmt) *sqlast.AlterTableStmt

func CreateIndexTo added in v0.2.1

func CreateIndexTo(stmt *xast.CreateIndexStmt) *sqlast.CreateIndexStmt

func CreateTableTo added in v0.2.1

func CreateTableTo(stmt *xast.CreateTableStmt) *sqlast.CreateTableStmt

func CreateViewTo added in v0.2.2

func CreateViewTo(stmt *xast.CreateViewStmt) *sqlast.CreateViewStmt

func DeleteTo added in v0.2.2

func DeleteTo(stmt *xast.DeleteStmt) *sqlast.DeleteStmt

func DropIndexTo added in v0.2.2

func DropIndexTo(stmt *xast.DropIndexStmt) *sqlast.DropIndexStmt

func DropTableTo added in v0.2.2

func DropTableTo(stmt *xast.DropTableStmt) *sqlast.DropTableStmt

func InsertTo added in v0.2.2

func InsertTo(stmt *xast.InsertStmt) *sqlast.InsertStmt

func QueryTo

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

QueryTo translates a xast query statement into xsqlparser statement

func UpdateTo added in v0.2.2

func UpdateTo(stmt *xast.UpdateStmt) *sqlast.UpdateStmt

func XAlterTableTo added in v0.2.2

func XAlterTableTo(stmt *sqlast.AlterTableStmt) (*xast.AlterTableStmt, error)

func XCreateIndexTo added in v0.2.1

func XCreateIndexTo(stmt *sqlast.CreateIndexStmt) (*xast.CreateIndexStmt, error)

func XCreateTableTo added in v0.2.1

func XCreateTableTo(stmt *sqlast.CreateTableStmt) (*xast.CreateTableStmt, error)

func XCreateViewTo added in v0.2.2

func XCreateViewTo(stmt *sqlast.CreateViewStmt) (*xast.CreateViewStmt, error)

func XDeleteTo added in v0.2.2

func XDeleteTo(stmt *sqlast.DeleteStmt) (*xast.DeleteStmt, error)

func XDropIndexTo added in v0.2.2

func XDropIndexTo(stmt *sqlast.DropIndexStmt) *xast.DropIndexStmt

func XDropTableTo added in v0.2.2

func XDropTableTo(stmt *sqlast.DropTableStmt) *xast.DropTableStmt

func XInsertTo added in v0.2.2

func XInsertTo(stmt *sqlast.InsertStmt) (*xast.InsertStmt, error)

func XQueryTo

func XQueryTo(stmt *sqlast.QueryStmt) (*xast.QueryStmt, error)

XQueryTo translates a xsqlparser query statement into xast statement

see https://github.com/akito0107/xsqlparser for xsqlparser

func XUpdateTo added in v0.2.2

func XUpdateTo(stmt *sqlast.UpdateStmt) (*xast.UpdateStmt, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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