Skip to main content
0 votes
1 answer
48 views

Is there any way to treat an old deleted property and a new property with the same name (but different UID) as the same property in database?

I had this property named reminders in my Task entity. String? reminders; then I deleted it to migrate it to use List<String> instead, unfortunately I realized this later that to migrate the ...
Husen Patel's user avatar
3 votes
1 answer
350 views

Error: The method 'getInvocation' isn't defined for the type 'DartObjectImpl'

Android Studio Latest, Flutter 3.35.6, sdk: ^3.9.2, Microsoft Windows 11 25H2, Flutter Doctor without warnings. Create a new Flutter project (Android & iOS) and without touching the generated code,...
user3262353's user avatar
2 votes
0 answers
49 views

Objectbox sort object using the sum in one to many relations

I am using objectbox for the database in my app. I have a one to many relation between my items and I want to sort my items based on that relation. As an example I use these entities : @Entity() class ...
Julien's user avatar
  • 31
1 vote
1 answer
42 views

How to store objets to pre-populate objectbox database

I am using objectbox to store a database in my mobile app written in flutter. I have to pre-prolate the database at first launch with files provided in the .apk. I tried using the data.mdb file ...
Julien's user avatar
  • 31
1 vote
0 answers
78 views

ObjectBox for Dart not lazy-loading ToMany relations separately

In the documentation for ObjectBox, they say to-many relations are resolved lazily on first access, and then cached in the source entity inside the ToMany object. In my app, I want to use a ToMany ...
Biotic55's user avatar
1 vote
1 answer
127 views

Unable to ship my flutter app with a pre-built ObjectBox database

I'm unable to ship my Flutter app with a pre-built database. Below is my approach; it would be greatly appreciated if this intent of shipping a database and the steps involved are validated. Thank you....
HBCondo's user avatar
  • 929
0 votes
0 answers
16 views

Querying by count of elements in a tomany relation (How many customers with at least two orders?)

I'm new to ObjectBox so this question might be very basic, but I could not find an answer in the guides. In the sample classes below, I would like to query all Customers that have at least 2 orders. ...
PMF's user avatar
  • 1
0 votes
0 answers
115 views

ObjectBox Cannot open store: another store is still open using the same path

I have a flutter app that uses ObjectBox to cache some data for offline availability. I have an issue where if I swipe back on my android phone and the app goes to the background, when I open the app ...
Mervin Hemaraju's user avatar
0 votes
1 answer
95 views

ObjectBox select what to sync

I am just trying out ObjectBox and sync server. I have a very simple sync scenario where I have multiple users for example user_A and user_B. Each user may have multiple devices, for example user_A ...
user966020's user avatar
0 votes
0 answers
48 views

Flutter Object Box store image from URL

Does anyone know how we can store images obtained from a URL to object box ? This is what i currently have: @Entity() class ServiceModel { @Id() int id = 0; @Unique() final String identifier; ...
Mervin Hemaraju's user avatar
1 vote
0 answers
57 views

ObjectBox Admin in Docker - Not refreshing UI data when db data are CRUDed

I am using ObjectBox Admin in Windows through WSL (Docker in WSL, using objectbox-admin.sh) and accessing a db file in Documents folder (shared with WSL). From a browser I can access the contents in ...
nikpelgr's user avatar
0 votes
0 answers
36 views

Can ObjectBox sync data specifcally for a given user? (particularly in Flutter)

In their FAQs (https://objectbox.io/faq/) they suggest this is not yet possible (under the "Would ObjectBox be a good fit in my case?" question). Is this definitely the case? If so, do we ...
FredEspo's user avatar
0 votes
1 answer
74 views

Error 404 when saving object with relation in Objectbox after removing a ToMany relation

I use objectbox with Flutter for one of my project. I have two object link MyObject and InsideObject : @Entity() class MyObject { @Id() int id = 0; String? name; final insideObjects = ToMany&...
Xababa Dalabama's user avatar
0 votes
1 answer
92 views

how to restore objectbox-model.json file after building

I'm using flutter with windows desktop and forget submit objectbox-model.json file to git. The App already run in the production envionment, how to restore the objectbox-model.json file working with ...
Qing Wang's user avatar
0 votes
1 answer
110 views

Flutter builds fail consistently when attempting to work with Flutter databases

I'm learning Flutter and focusing on Databases but have been unable to use them. An error occurs after adding dependencies for Isar and ObjectBox databases, however Hive appears to work. After adding ...
IlliterateTechnologist's user avatar

15 30 50 per page
1
2 3 4 5
9