-
-
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.To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
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
Type
Projects
Milestone
Relationships
Development
Select code repository
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