Closed
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();