If you pass an empty array into a filter it causes an error.
andymoon opened this issue · comments
andymoon commented
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();