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
Under detach in the documentation https://adonisjs.com/docs/4.0/relationships#_detach for using the detach method without an argument, it says "The detach method is the opposite of the attach method, and it removes the relationship from the pivot table only." which implies that its only removing one relation when in reality, it removed all the relations IE, in the example its going to detach all of the cars so it may be better if it says something along the lines of "The detach method is the opposite of the attach method, and removes all the attached relationships from the pivot table."
Under detach in the documentation https://adonisjs.com/docs/4.0/relationships#_detach for using the detach method without an argument, it says "The
detachmethod is the opposite of theattachmethod, and it removes the relationship from the pivot table only." which implies that its only removing one relation when in reality, it removed all the relations IE, in the example its going to detach all of the cars so it may be better if it says something along the lines of "Thedetachmethod is the opposite of theattachmethod, and removes all the attached relationships from the pivot table."