Documentation
¶
Index ¶
- type BaseExecutorDialector
- type MySQLExecutorDialector
- func (d *MySQLExecutorDialector) TableCreateQuery(sourceTable string, targetTable string) string
- func (d *MySQLExecutorDialector) TableInsertBatchQuery(sourceTable models.TableInfo, targetTable models.TableInfo, columns []string, ...) string
- func (d *MySQLExecutorDialector) TableRemoveQuery(sourceTable string) string
- func (d *MySQLExecutorDialector) TriggerCreateDeleteQuery(sourceTable models.TableInfo, targetTable models.TableInfo) string
- func (d *MySQLExecutorDialector) TriggerCreateInsertQuery(sourceTable models.TableInfo, targetTable models.TableInfo, columns []string) string
- func (d *MySQLExecutorDialector) TriggerCreateUpdateQuery(sourceTable models.TableInfo, targetTable models.TableInfo, columns []string) string
- func (d *MySQLExecutorDialector) TriggerDropDeleteQuery(sourceTable string) string
- func (d *MySQLExecutorDialector) TriggerDropInsertQuery(sourceTable string) string
- func (d *MySQLExecutorDialector) TriggerDropUpdateQuery(sourceTable string) string
- type PostgreSQLExecutorDialector
- func (d *PostgreSQLExecutorDialector) TableCreateQuery(sourceTable string, targetTable string) string
- func (d *PostgreSQLExecutorDialector) TableInsertBatchQuery(sourceTable models.TableInfo, targetTable models.TableInfo, columns []string, ...) string
- func (d *PostgreSQLExecutorDialector) TableRemoveQuery(sourceTable string) string
- func (d *PostgreSQLExecutorDialector) TriggerCreateDeleteQuery(sourceTable models.TableInfo, targetTable models.TableInfo) string
- func (d *PostgreSQLExecutorDialector) TriggerCreateInsertQuery(sourceTable models.TableInfo, targetTable models.TableInfo, columns []string) string
- func (d *PostgreSQLExecutorDialector) TriggerCreateUpdateQuery(sourceTable models.TableInfo, targetTable models.TableInfo, columns []string) string
- func (d *PostgreSQLExecutorDialector) TriggerDropDeleteQuery(sourceTable string) string
- func (d *PostgreSQLExecutorDialector) TriggerDropInsertQuery(sourceTable string) string
- func (d *PostgreSQLExecutorDialector) TriggerDropUpdateQuery(sourceTable string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseExecutorDialector ¶
type BaseExecutorDialector interface {
TableCreateQuery(sourceTable string, targetTable string) string
TableRemoveQuery(sourceTable string) string
TableInsertBatchQuery(sourceTable models.TableInfo, targetTable models.TableInfo, columns []string, lowerID int, upperID int) string
TriggerCreateDeleteQuery(sourceTable models.TableInfo, targetTable models.TableInfo) string
TriggerCreateInsertQuery(sourceTable models.TableInfo, targetTable models.TableInfo, columns []string) string
TriggerCreateUpdateQuery(sourceTable models.TableInfo, targetTable models.TableInfo, columns []string) string
TriggerDropDeleteQuery(sourceTable string) string
TriggerDropInsertQuery(sourceTable string) string
TriggerDropUpdateQuery(sourceTable string) string
}
type MySQLExecutorDialector ¶
type MySQLExecutorDialector struct {
formatters.MySQLFormatter
// contains filtered or unexported fields
}
func NewMySQLExecutorDialector ¶
func NewMySQLExecutorDialector(schema string) *MySQLExecutorDialector
func (*MySQLExecutorDialector) TableCreateQuery ¶
func (d *MySQLExecutorDialector) TableCreateQuery(sourceTable string, targetTable string) string
func (*MySQLExecutorDialector) TableInsertBatchQuery ¶
func (*MySQLExecutorDialector) TableRemoveQuery ¶
func (d *MySQLExecutorDialector) TableRemoveQuery(sourceTable string) string
func (*MySQLExecutorDialector) TriggerCreateDeleteQuery ¶
func (*MySQLExecutorDialector) TriggerCreateInsertQuery ¶
func (*MySQLExecutorDialector) TriggerCreateUpdateQuery ¶
func (*MySQLExecutorDialector) TriggerDropDeleteQuery ¶
func (d *MySQLExecutorDialector) TriggerDropDeleteQuery(sourceTable string) string
func (*MySQLExecutorDialector) TriggerDropInsertQuery ¶
func (d *MySQLExecutorDialector) TriggerDropInsertQuery(sourceTable string) string
func (*MySQLExecutorDialector) TriggerDropUpdateQuery ¶
func (d *MySQLExecutorDialector) TriggerDropUpdateQuery(sourceTable string) string
type PostgreSQLExecutorDialector ¶
type PostgreSQLExecutorDialector struct {
formatters.PostgreSQLFormatter
// contains filtered or unexported fields
}
func NewPostgreSQLExecutorDialector ¶
func NewPostgreSQLExecutorDialector(schema string) *PostgreSQLExecutorDialector
func (*PostgreSQLExecutorDialector) TableCreateQuery ¶
func (d *PostgreSQLExecutorDialector) TableCreateQuery(sourceTable string, targetTable string) string
func (*PostgreSQLExecutorDialector) TableInsertBatchQuery ¶
func (*PostgreSQLExecutorDialector) TableRemoveQuery ¶
func (d *PostgreSQLExecutorDialector) TableRemoveQuery(sourceTable string) string
func (*PostgreSQLExecutorDialector) TriggerCreateDeleteQuery ¶
func (*PostgreSQLExecutorDialector) TriggerCreateInsertQuery ¶
func (*PostgreSQLExecutorDialector) TriggerCreateUpdateQuery ¶
func (*PostgreSQLExecutorDialector) TriggerDropDeleteQuery ¶
func (d *PostgreSQLExecutorDialector) TriggerDropDeleteQuery(sourceTable string) string
func (*PostgreSQLExecutorDialector) TriggerDropInsertQuery ¶
func (d *PostgreSQLExecutorDialector) TriggerDropInsertQuery(sourceTable string) string
func (*PostgreSQLExecutorDialector) TriggerDropUpdateQuery ¶
func (d *PostgreSQLExecutorDialector) TriggerDropUpdateQuery(sourceTable string) string
Click to show internal directories.
Click to hide internal directories.