Skip to content

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

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

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