Closed mrfelton closed 7 years ago
The where clause is expecting a string or regex, could you try? { "or": [ {"email": "example1@example.com"}, {"email": "example2@example.com"} ] }
See docs: https://docs.strongloop.com/display/public/LB/Where+filter
@0candy Is this not a valid where query? I don't think I should have to use the format you have suggested.
where: {
email: {
inq:[ 'example1@example.com', 'example2@example.com' ]
}
},
Note that query I've highlighted is not problematic if caseSensitiveEmail
is not disabled
You are right, that is a bug. Thanks for pointing it out.
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS
file at the top-level of this repository.
Try the following:
Results in error:
This is the offending code:
This is assuming that email is a string when it may well not be, as in the example above.