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

Add extra props on associations to delete #543

Merged
merged 1 commit into from
Dec 22, 2014

Conversation

YannickDa
Copy link
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
Copy link
Collaborator

dxg commented Aug 21, 2014

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
Contributor Author

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

@dxg
Copy link
Collaborator

dxg commented Aug 22, 2014

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