objectbox / objectbox/objectbox-dart

TimeSeries support

Open
#281 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Dart
Stars
1.2k
Forks
162
Avg merge
15m
Merged PRs (30d)
1

Description

ObjectBox core comes with time-series support - consider exposing in Dart. Basic characteristics:

  • there's an "id-companion" annotation for a millisecond or nanosecond-precision time field (OBXPropertyFlags_ID_COMPANION)
  • box (or some extension of it) - have a getter for global (obx_box_ts_min_max) and local (obx_box_ts_min_max_range) "extremes", i.e. minimum/maximum time value and object (id)
  • add an option to link based on the time field value (obx_qb_link_time) - linking using a time range or a single value
  • time-series support is a "feature" (similar to sync) and may not be available in every library build variant (doesn't apply to the annotation - those will always be accepted) - this influences the APIs but also how to distribute the TS-enabled variant of a library, e.g. for Android, iOS, where we depend directly on objectbox-android and objectbox-swift projects, respectively.

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 by reviewing the existing Dart bindings and the ObjectBox core time-series APIs named in the issue, including the annotation, extremes, and time-based linking entry points. Confirm how optional library build variants are distributed for Android and iOS; done means these capabilities are exposed consistently while annotation support remains available in every variant.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, dart, ios
Domain
build-system, databases, mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.