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();
Activity
parse-github-assistant commentedon Oct 5, 2021
Thanks for opening this issue!
cbaker6 commentedon Oct 5, 2021
Looks related to #7227 (comment)
In the discussion, there are ways to do equalTo in LiveQuery without $eq which are linked in the discussion.
$eq
query constraint in LiveQuery #8614parseplatformorg commentedon Jun 8, 2023
🎉 This change has been released in version 6.1.0-alpha.18
parseplatformorg commentedon Jun 10, 2023
🎉 This change has been released in version 6.3.0-beta.1
parseplatformorg commentedon Jun 18, 2023
🎉 This change has been released in version 6.3.0-alpha.1
parseplatformorg commentedon Sep 16, 2023
🎉 This change has been released in version 6.3.0