Skip to content

Invalid sql generated when using {$in: []} on a related field #15

Description

@forivall

Using the model types in the tests

Owner.cursor({'reverses.id': {$in: []}}).include('reverses').toModels (err, owners) ->
    ...

will cause the error error: syntax error at or near ")"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions