Chore: use any rather than interface{} (#74066)
This commit is contained in:
@@ -47,8 +47,8 @@ type Dialect interface {
|
||||
|
||||
UpdateTableSQL(tableName string, columns []*Column) string
|
||||
|
||||
IndexCheckSQL(tableName, indexName string) (string, []interface{})
|
||||
ColumnCheckSQL(tableName, columnName string) (string, []interface{})
|
||||
IndexCheckSQL(tableName, indexName string) (string, []any)
|
||||
ColumnCheckSQL(tableName, columnName string) (string, []any)
|
||||
// UpsertSQL returns the upsert sql statement for a dialect
|
||||
UpsertSQL(tableName string, keyCols, updateCols []string) string
|
||||
UpsertMultipleSQL(tableName string, keyCols, updateCols []string, count int) (string, error)
|
||||
@@ -235,7 +235,7 @@ func (b *BaseDialect) RenameColumn(table Table, column *Column, newName string)
|
||||
)
|
||||
}
|
||||
|
||||
func (b *BaseDialect) ColumnCheckSQL(tableName, columnName string) (string, []interface{}) {
|
||||
func (b *BaseDialect) ColumnCheckSQL(tableName, columnName string) (string, []any) {
|
||||
return "", nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user