Versions in this module Expand all Collapse all v1 v1.2.1 May 30, 2024 v1.2.0 May 23, 2024 Changes in this version + const Dot + const EscapeMysql + const EscapeStandard + func AddEscape(colName string, dbType types.DBType) string + func BuildWhereConditionByPKs(pkNameList []string, dbType types.DBType) string + func DataValidationAndGoOn(sqlUndoLog undo.SQLUndoLog, conn *sql.Conn) bool + func DelEscape(colName string, dbType types.DBType) string + func GetOrderedPkList(image *types.RecordImage, row types.RowImage, dbType types.DBType) ([]types.ColumnImage, error) + func IsRecordsEquals(beforeImage *types.RecordImage, afterImage *types.RecordImage) (bool, error) + func NewMySQLUndoExecutorHolder() undo.UndoExecutorHolder + type BaseExecutor struct + func (b *BaseExecutor) ExecuteOn(ctx context.Context, dbType types.DBType, conn *sql.Conn) error + func (b *BaseExecutor) UndoPrepare(undoPST *sql.Stmt, undoValues []types.ColumnImage, ...) + type MySQLUndoExecutorHolder struct + func (m *MySQLUndoExecutorHolder) GetDeleteExecutor(sqlUndoLog undo.SQLUndoLog) undo.UndoExecutor + func (m *MySQLUndoExecutorHolder) GetInsertExecutor(sqlUndoLog undo.SQLUndoLog) undo.UndoExecutor + func (m *MySQLUndoExecutorHolder) GetUpdateExecutor(sqlUndoLog undo.SQLUndoLog) undo.UndoExecutor