Documentation
¶
Index ¶
- func AlterTableTo(stmt *xast.AlterTableStmt) *sqlast.AlterTableStmt
- func CreateIndexTo(stmt *xast.CreateIndexStmt) *sqlast.CreateIndexStmt
- func CreateTableTo(stmt *xast.CreateTableStmt) *sqlast.CreateTableStmt
- func CreateViewTo(stmt *xast.CreateViewStmt) *sqlast.CreateViewStmt
- func DeleteTo(stmt *xast.DeleteStmt) *sqlast.DeleteStmt
- func DropIndexTo(stmt *xast.DropIndexStmt) *sqlast.DropIndexStmt
- func DropTableTo(stmt *xast.DropTableStmt) *sqlast.DropTableStmt
- func InsertTo(stmt *xast.InsertStmt) *sqlast.InsertStmt
- func QueryTo(stmt *xast.QueryStmt) *sqlast.QueryStmt
- func UpdateTo(stmt *xast.UpdateStmt) *sqlast.UpdateStmt
- func XAlterTableTo(stmt *sqlast.AlterTableStmt) (*xast.AlterTableStmt, error)
- func XCreateIndexTo(stmt *sqlast.CreateIndexStmt) (*xast.CreateIndexStmt, error)
- func XCreateTableTo(stmt *sqlast.CreateTableStmt) (*xast.CreateTableStmt, error)
- func XCreateViewTo(stmt *sqlast.CreateViewStmt) (*xast.CreateViewStmt, error)
- func XDeleteTo(stmt *sqlast.DeleteStmt) (*xast.DeleteStmt, error)
- func XDropIndexTo(stmt *sqlast.DropIndexStmt) *xast.DropIndexStmt
- func XDropTableTo(stmt *sqlast.DropTableStmt) *xast.DropTableStmt
- func XInsertTo(stmt *sqlast.InsertStmt) (*xast.InsertStmt, error)
- func XQueryTo(stmt *sqlast.QueryStmt) (*xast.QueryStmt, error)
- func XUpdateTo(stmt *sqlast.UpdateStmt) (*xast.UpdateStmt, error)
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 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 ¶
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.
Click to show internal directories.
Click to hide internal directories.