Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query syntax bug when querying a date column with an array of values #84

Open
jgeurts opened this issue Nov 20, 2022 · 0 comments
Open
Labels

Comments

@jgeurts
Copy link
Contributor

jgeurts commented Nov 20, 2022

Reproduction

await Foo.find().where({
  someDate: [value1, value2],
});

Workaround

await Foo.find().where({
  or: [{
    someDate: value1,
  }, {
    someDate: value2,
  }],
});
@jgeurts jgeurts added the bug label Nov 20, 2022
@jgeurts jgeurts changed the title Issue querying a date column with multiple values Query syntax bug when querying a date column with an array of values Nov 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant