Skip to content

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

@Artazor

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)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions