Skip to content

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

Closed

Description

@Artazor

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)

Activity

  1. dresende commented on Dec 5, 2013

    @dresende
    Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions