ast

package
v0.2.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 QueryTo

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

QueryTo translates a xast query statement into xsqlparser statement

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 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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