diff --git a/internal/statements/update.go b/internal/statements/update.go index 9f50adc6..cff06269 100644 --- a/internal/statements/update.go +++ b/internal/statements/update.go @@ -18,6 +18,7 @@ import ( "xorm.io/xorm/schemas" ) +// ifAddColUpdate add includePrimaryKey func (statement *Statement) ifAddColUpdate(col *schemas.Column, includeVersion, includeUpdated, includeNil, includeAutoIncr, includePrimaryKey, update bool) (bool, error) { columnMap := statement.ColumnMap