legacy-docs
legacy-docs copied to clipboard
Possibly incorrect or missleading wording
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."