Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Possibly incorrect or missleading wording #415

Open
Caleb-T-Owens opened this issue Nov 22, 2020 · 0 comments
Open

Possibly incorrect or missleading wording #415

Caleb-T-Owens opened this issue Nov 22, 2020 · 0 comments

Comments

@Caleb-T-Owens
Copy link

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."

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant