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
{{ message }}
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.
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."
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 theattach
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 "Thedetach
method is the opposite of theattach
method, and removes all the attached relationships from the pivot table."The text was updated successfully, but these errors were encountered: