Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete specific child of parent item #35

Open
montera82 opened this issue Mar 18, 2017 · 0 comments
Open

Delete specific child of parent item #35

montera82 opened this issue Mar 18, 2017 · 0 comments

Comments

@montera82
Copy link

i am trying to achieve something like this and can not find any documentation in this plugin to achieve it

basically i want to only delete specific items of the parent model without deleting the model

ParentModel.fetch({withRelated: ['items]]}).find({itemId: 200}).destroy()

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

No branches or pull requests

1 participant