bookshelf-cascade-delete icon indicating copy to clipboard operation
bookshelf-cascade-delete copied to clipboard

Delete specific child of parent item

Open montera82 opened this issue 7 years ago • 0 comments

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()

montera82 avatar Mar 18 '17 10:03 montera82