parse-community / parse-community/parse-server
Unable to query rows with array keys which equals empty array []
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 21.4k
- Forks
- 4.8k
- Avg merge
- 7h 45m
- Merged PRs (30d)
- 11
Description
Issue Description
Couldn't find a way to query rows with array keys equal to empty array.
For example:
I have class 'Shelf' with key 'books' type of Array
I have 2 rows. First row has books = [ { Pointer }, { Pointer } ]. Second row has books = []
How do i query second row?
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
No file, test, or entry point is named in the issue. Start by locating Parse Server's query handling for array-valued keys and reproduce a query against one row with an empty array; done means the query reliably returns that row without changing results for non-empty arrays.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100