chore:ingore typecheck

This commit is contained in:
a631807682 2023-02-06 14:44:46 +08:00
parent 04af65df35
commit 2e19e929ed
No known key found for this signature in database
GPG Key ID: 137D1D75522168AB

View File

@ -121,7 +121,7 @@ func (stmt *Statement) QuoteTo(writer clause.Writer, field interface{}) {
} else if len(stmt.Schema.DBNames) > 0 {
write(v.Raw, stmt.Schema.DBNames[0])
} else {
stmt.DB.AddError(ErrModelValueRequired)
stmt.DB.AddError(ErrModelValueRequired) //nolint:typecheck
}
} else {
write(v.Raw, v.Name)