parse-community / parse-community/parse-server

Support more mongodb update operators

Open
#9,478 1 comment 0 reactions 0 assignees View on GitHub

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
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.