objectbox / objectbox-dart

Flutter database for super-fast Dart object persistence
https://docs.objectbox.io/getting-started
Apache License 2.0
927 stars 115 forks source link

Is it possible to use same entity in separate box? #537

Closed xOldeVx closed 10 months ago

xOldeVx commented 11 months ago

I have Video entity, and i want to create two boxes, one of historyVideosBox and second likeVideosBox, is it possible to create separated box under the same entity? I may have more boxes that I need to create on the same entity (such as watchLaterBox) so it is very useful if it's possible to create separate boxes under the same entity

FlippedOvO commented 11 months ago

same

xOldeVx commented 11 months ago

I think object box stopped the support, the issues not active for a long time and also in StackOverflow nobody answer

greenrobot commented 11 months ago

Typically there are (at least) two ways how to model this:

Hope that help to get you started in the right direction on how to model your data.

github-actions[bot] commented 10 months ago

Without additional information, we are unfortunately not sure how to resolve this issue. Therefore this issue has been automatically closed. Feel free to comment with additional details and we can re-open this issue.