package
0.0.0-20230703124511-562f344c02e9
Repository: https://github.com/go-leo/sqlgen.git
Documentation: pkg.go.dev

# Functions

From creates context from table and dml.
NewConstraint returns a new Constraint.
NewParameter returns a new parameter.

# Constants

ActionCreate represents a create action.
ActionDelete represents a delete action.
ActionRead represents a read action.
ActionTransaction represents a transaction action.
ActionUpdate represents an update action.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TypeNullDecimal is a type extension for mysql.TypeDecimal.
TypeNullLongLong is a type extension for mysql.TypeLongLong.
TypeNullString is a type extension for mysql.TypeString.
WildCard is a wildcard column.

# Variables

No description provided by the author
No description provided by the author

# Structs

ByItem represents an order-by or group-by item.
Clause represents a where clause, having clause.
Column represents a column in a table.
ColumnOption is a column option.
Comment represents a sql comment.
Constraint is a struct that contains the constraints of a table.
Context is sql table and query context.
DDL represents a DDL statement.
DeleteStmt represents a delete statement.
DXL describes ddl and dml.
Field represents a select filed.
InsertStmt represents a insert statement.
Limit represents a limit clause.
SelectStmt represents a select statement.
Table represents a table in the database.
No description provided by the author
UpdateStmt represents a update statement.

# Interfaces

DML represents a DML statement.

# Type aliases

Action represents an action.
ByItems returns the by items.
No description provided by the author
No description provided by the author
OP is opcode type.
Type is the type of the column.