Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialect ¶
type Dialect interface {
// GetName get dialect's name
GetName() string
// ShowColumns show columns of specified table
ShowColumns(table string) string
// ShowTables show tables of database
ShowTables() string
// Insert
Insert(comp *SqlComponent) string
// Delete
Delete(comp *SqlComponent) string
// Update
Update(comp *SqlComponent) string
// Select
Select(comp *SqlComponent) string
GetDelimiter() string
}
func GetDialect ¶
func GetDialect() Dialect
func GetDialectByDriver ¶
type SqlComponent ¶
Click to show internal directories.
Click to hide internal directories.