-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Labels
state:releasedReleased as stable versionReleased as stable versionstate:released-alphaReleased as alpha versionReleased as alpha versionstate:released-betaReleased as beta versionReleased as beta versiontype:featureNew feature or improvement of existing featureNew feature or improvement of existing feature
Description
New Feature / Enhancement Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
Current Limitation
As per this issue, currently it is not possible to combine equalTo
clause with any other clauses and vice-versa. After adding support for combining equalTo
clause with other clauses in Parse-SDK-JS's pr.
We need to add support equalTo
for LiveQuery, so that it triggers correct events for client.
Feature / Enhancement Description
We would need to add support for $eq
query in LiveQuery's matchKeyConstraints.
Example Use Case
let q = new Parse.Query('MyClass');
q.equalTo('age', null);
q.exists('age');
// if final query would be like
// where: { age: { $eq: null, $exists: true } }
const subscribe = await q.subscribe();
Alternatives / Workarounds
3rd Party References
Metadata
Metadata
Assignees
Labels
state:releasedReleased as stable versionReleased as stable versionstate:released-alphaReleased as alpha versionReleased as alpha versionstate:released-betaReleased as beta versionReleased as beta versiontype:featureNew feature or improvement of existing featureNew feature or improvement of existing feature