package
0.7.10
Repository: https://github.com/huangjunwen/sqlw-mysql.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewDBInfo extracts information from current database.
NewStmtInfo creates a new StmtInfo from an xml element, example statement xml element: <stmt name="BlogByUser"> <arg name="userId" type="int" /> SELECT <wc table="blog" /> FROM blog WHERE user_id=<repl with=":userId">1</repl> </stmt> which contains SQL statement fragments and special directives.
RegistDirectiveFactory regist directive factories.

# Structs

ColumnInfo contains information of a table column.
DBInfo contains information of a database.
FKInfo contains information of a foreign key constraint.
IndexInfo contains information of an index.
StmtInfo contains information of a statement.
TableInfo contains information of a table.

# Interfaces

Directive represents a fragment of a statement.
NonterminalDirective can expand to other directives.
TerminalDirective can not expand to other directives.