We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[x] Regression (a behavior that used to work and stopped working in a new release) [x] Bug report [x] Temporary fix / possible long term fix
Some filters used in find() does not work as it should with LokiJS or MongoDB. For example,
find()
{$and: [ {tag: "marked"}, {$or: [ {nextReview: {$exists: false}}, {nextReview: {$in: [null, ""]}}, {nextReview: {$lt: new Date()}} ]} ]}
I am not writing the filter object directly, but by parsing a string with parsimmon https://github.com/patarapolw/zhdiary-app/blob/master/src/backend/db/MongoQParser.ts.
Temporary fix? MongoToFilter function, and use JavaScript's filter in .where().
.where()
LokiDB version: 2.0.0-beta.8 with @lokidb/fs-storage 2.0.0-beta.8 Browser/Node version: Node v11.11.0 Yarn 1.15.2 MacOS
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm submitting a...
Current behavior
Some filters used in
find()
does not work as it should with LokiJS or MongoDB. For example,What is the motivation / use case for changing the behavior?
I am not writing the filter object directly, but by parsing a string with parsimmon https://github.com/patarapolw/zhdiary-app/blob/master/src/backend/db/MongoQParser.ts.
Temporary fix? MongoToFilter function, and use JavaScript's filter in
.where()
.Environment
The text was updated successfully, but these errors were encountered: