fix existing function add reflect, slow but safe
This commit is contained in:
@@ -254,7 +254,7 @@ func (dH *DBHandler) DeleteById(model any, ids ...uint) error {
|
||||
return fmt.Errorf("delete failed: %w", err)
|
||||
}
|
||||
|
||||
return err
|
||||
return nil
|
||||
}
|
||||
|
||||
// deleteByKey
|
||||
|
||||
Reference in New Issue
Block a user