objectbox / objectbox/objectbox-java

Search for all records that have records in the related table

Open
#566 3 comments 5 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

How to make a query like this?

noteBox.query()
.equal(Note_.title, queryString)
.link(Note_.tags).totalRecordsGreaterThan(0)
.build()
.find();

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

No implementation files or tests are named. Start by reviewing the query and link APIs related to noteBox.query() and Note_.tags, then determine whether filtering by the number of related records is supported. Done means a documented and tested way to find records whose related table contains at least one record.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.