executor

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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 (d *MySQLExecutorDialector) TableInsertBatchQuery(sourceTable models.TableInfo, targetTable models.TableInfo, columns []string, lowerID int, upperID int) string

func (*MySQLExecutorDialector) TableRemoveQuery

func (d *MySQLExecutorDialector) TableRemoveQuery(sourceTable string) string

func (*MySQLExecutorDialector) TriggerCreateDeleteQuery

func (d *MySQLExecutorDialector) TriggerCreateDeleteQuery(sourceTable models.TableInfo, targetTable models.TableInfo) string

func (*MySQLExecutorDialector) TriggerCreateInsertQuery

func (d *MySQLExecutorDialector) TriggerCreateInsertQuery(sourceTable models.TableInfo, targetTable models.TableInfo, columns []string) string

func (*MySQLExecutorDialector) TriggerCreateUpdateQuery

func (d *MySQLExecutorDialector) TriggerCreateUpdateQuery(sourceTable models.TableInfo, targetTable models.TableInfo, columns []string) string

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 (d *PostgreSQLExecutorDialector) TableInsertBatchQuery(sourceTable models.TableInfo, targetTable models.TableInfo, columns []string, lowerID int, upperID int) string

func (*PostgreSQLExecutorDialector) TableRemoveQuery

func (d *PostgreSQLExecutorDialector) TableRemoveQuery(sourceTable string) string

func (*PostgreSQLExecutorDialector) TriggerCreateDeleteQuery

func (d *PostgreSQLExecutorDialector) TriggerCreateDeleteQuery(sourceTable models.TableInfo, targetTable models.TableInfo) string

func (*PostgreSQLExecutorDialector) TriggerCreateInsertQuery

func (d *PostgreSQLExecutorDialector) TriggerCreateInsertQuery(sourceTable models.TableInfo, targetTable models.TableInfo, columns []string) string

func (*PostgreSQLExecutorDialector) TriggerCreateUpdateQuery

func (d *PostgreSQLExecutorDialector) TriggerCreateUpdateQuery(sourceTable models.TableInfo, targetTable models.TableInfo, columns []string) string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL