Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

If you pass an empty array into a filter it causes an error. #63

@andymoon

Description

@andymoon

It creates an sql clause like the following

"1" = 1

The column was a text data type.

i.e.

SomeModel
    .filter({someColumn: {notIn: []}})
    .all();

//also 

SomeModel
     .exclude({someColumn: []})
     .all();

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