objectbox / objectbox/objectbox-java

Queries: order by property of related entity

Open
#141 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
4.6k
Forks
311
PR merge metrics
No merged PRs in 30d

Description

is possible to sort parent items by child property ?

for example :

Author

  • name
  • birthday

Birthday

  • date

i want list all authors, but when birthday != null must be sorting first

Contributor guide

No contributing guide indexed for this repository

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 identifies queries as the entry point and describes ordering authors by a related birthday date, with non-null birthdays first. Start by reviewing the query and relation APIs to determine whether related-property ordering is supported. Done means a documented or tested query behavior that produces the requested ordering.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.