You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if removedJoins contains join which returns _.delete_! == false while calling removedJoins.forall {_.delete_!} for example because of db_can_delete_? of join returns false (which is the case when we add and remove the join before save), then other removed joins in removedJoins, if they are after the join, will not be deleted. This is because forall method stops evaluating after first false
The text was updated successfully, but these errors were encountered:
Code of ManyToMany.save function:
if
removedJoins
contains join which returns_.delete_! == false
while callingremovedJoins.forall {_.delete_!}
for example because ofdb_can_delete_?
of join returnsfalse
(which is the case when we add and remove the join before save), then other removed joins inremovedJoins
, if they are after the join, will not be deleted. This is becauseforall
method stops evaluating after firstfalse
The text was updated successfully, but these errors were encountered: