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

ChainedFind.remove on relation with compound key incorrectly renders SQL #358

Closed
Artazor opened this issue Oct 25, 2013 · 1 comment
Closed

Comments

@Artazor
Copy link

Artazor commented Oct 25, 2013

I have relation with compound key: opts.id = ['a','b']
Trying to run models.MyRelation.find({a:1,b:2}).remove(function(err){ ... })
produces an error: column "a,b" does not exist
I'm using posgres (if it matters)

@dresende
Copy link
Owner

dresende commented Dec 5, 2013

Fix in #345 should also fix this. Can you please test the master branch. It's working for me.

@dxg dxg closed this as completed Mar 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants