Skip to content

Add extra props on associations to delete - #543

Merged
dresende merged 1 commit into
dresende:masterfrom
YannickDa:master
Dec 22, 2014
Merged

dresende merged 1 commit into
dresende:masterfrom
YannickDa:master

Conversation

@YannickDa

Copy link
Copy Markdown
Contributor

When we need to delete some record on association, this driver use the $pullAll command.
But the $pullAll requires an exact match.
So, when the association has some extra properties, we need to include these properties in the pull object.

When we need to delete some record on association, this driver use the $pullAll command.
But the $pullAll requires an exact match.
So, when the association has some extra properties, we need to include these properties in the pull object.
@dxg

dxg commented Aug 21, 2014

Copy link
Copy Markdown
Collaborator

Thanks,

Do you think you could add one test to verify this behaviour? Otherwise it might be broken again once someone else makes a pull request. Thanks.

@YannickDa

Copy link
Copy Markdown
Contributor Author

I'm not very familiar with nodeJS test again... I'll try to implement it but I need time :)

@dxg

dxg commented Aug 22, 2014

Copy link
Copy Markdown
Collaborator

:) sounds good

dresende added a commit that referenced this pull request Dec 22, 2014
Add extra props on associations to delete
@dresende
dresende merged commit 67d0b87 into dresende:master Dec 22, 2014
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

Successfully merging this pull request may close these issues.

3 participants