Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLGenerator ¶
type SQLGenerator interface {
Reserved
Insert(sql *SQL) (string, []*SQLParam)
Update(sql *SQL) (string, []*SQLParam, []*SQLParam)
Delete(sql *SQL) (string, []*SQLParam)
Query(sql *SQL) (string, []*SQLParam)
Truncate(sql *SQL) string
IsReturnAutoincrPrimaryKeyUseQuery() bool
IsParamDollar() bool
GetParamTag() string
}
func GetGenerator ¶
func GetGenerator(dialect constants.DIALECT) (SQLGenerator, error)
Click to show internal directories.
Click to hide internal directories.