parse-community / parse-community/parse-server

Enhancement: Enhance query by using column values for comparision

Open
#2,920 1 comment 5 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

It would greatly enhance parse-server's query capabilities if it would be possible to use column values for comparison in querys.

Right now we can only compare a column against a fixed value like so

query.greaterThan('movieRating', 5);

In a lot of use cases it would help to compare it against another column value like this

query.greaterThan('movieRating', 'anotherFieldInThisRow');

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

Start at the query.greaterThan API and trace how fixed-value comparisons are translated for the supported databases. Determine the expected behavior for comparing two fields in the same row, including validation and database compatibility. Done means the API supports this comparison consistently and has coverage for the new query behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
api, backend, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.