parse-community / parse-community/parse-server
Support more mongodb update operators
Open
Nobody has claimed this yet.
type:feature
- Dominant language
- JavaScript
- Stars
- 21.4k
- Forks
- 4.8k
- Avg merge
- 7h 45m
- Merged PRs (30d)
- 11
Description
New Feature / Enhancement Checklist
- Report security issues confidentially.
- Any contribution is under this license.
- Before posting search existing issues.
Current Limitation
Current we only support $inc,$set,$unset operators when update field. According mongodb's doc. There are more operators when update field.
Feature / Enhancement Description
Can we support all operators that mongodb supported?
Example Use Case
const obj = new Parse.Object('todo');
obj.min('numberValue',20);
obj.max('numberValue',20);
obj.mul('numberValue',20);
etc...
Alternatives / Workarounds
3rd Party References
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name files or tests. Start by reviewing the existing implementation of the $inc, $set, and $unset update operators alongside MongoDB's field-update operator documentation. Done means defining the supported operator scope and implementing and validating the corresponding Parse.Object update methods.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, mongodb
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100