Questions tagged [flutter-objectbox]

ObjectBox is a super-fast database storing Dart objects locally.

ObjectBox is a super-fast database storing Dart objects locally.

High performance - improving response rates and enabling real-time applications.

ACID compliance - Atomic, Consistent, Isolated, Durable.

Relations - object links / relationships are built-in.

Scalable - grows with your app, handling millions of objects with ease.

Queries - filter data as needed, even across relations.

Statically typed - compile-time checks & optimizations.

Multiplatform - Android, iOS, macOS, Linux, Windows.

Schema migration - change your model with confidence.

ObjectBox Sync - keeps data in sync offline or online, between devices and servers.

Links:

112 questions
0
votes
1 answer

In ObjectBox for Flutter, is there a way to compare two properties?

I'm new to using ObjectBox, so I've been trying to do some experimenting with its query system to familarize myself with it. One of the queries I've been unable to do is a query comparing two properties. Ignoring the errors they throw, these are…
0
votes
0 answers

objectbox ToMany relation build gives me: don't know how to initialize param cikkid - no such property

I have this ToMany relation: @Entity() class Cikkek { @Id() int id; int cikkid = 0; String cikkszam = ''; @Backlink("cikk") final Vkodok = ToMany(); Cikkek(this.id, this.cikkid, this.cikkszam); } @Entity() class…
Ebadta
  • 317
  • 1
  • 3
  • 10
0
votes
1 answer

Flutter ObjectBox: Is List supported for property converters?

The Flutter ObjectBox docs state: ObjectBox (Java, Dart) has built-in support for String lists. ObjectBox for Java also has built-in support for String arrays. However, using a List in a converter triggers the following warning: [WARNING]…
SePröbläm
  • 5,142
  • 6
  • 31
  • 45
0
votes
0 answers

Restore deleted Objectbox database form the android phone

I have developed a warehouse ‍delivery app (track and trace) for Android handheld scanners with Flutter and Objectbox as local database. After few months I changed my OS from win10 to Ubuntu 21 and reloaded my project from git. A few days ago, after…
0
votes
1 answer

Is there an objectbox condition, that can filter by string length?

Can I make a database query, with a condition that filters out any elements when a text field doesn't have length 2 or 3 characters?
Ebadta
  • 317
  • 1
  • 3
  • 10
0
votes
2 answers

Query with order, places accented value at the end

In my flutter project, I use box.query(myquery)..order(Kategoriak_.cikkcsoportnev).build(), but my Áramfejlesztők, szivattyúk category is at the end of the list. How can I order it correctly, so Á would come after A, not at the end? I am using…
Ebadta
  • 317
  • 1
  • 3
  • 10
0
votes
1 answer

How to get data from a relation in an entity in ObjectBox

I'm new to ObjectBox. I have a worklistDocumentNumber, from which I need to get report master data by using query. Can anyone help me with this. I tried by adding some filter conditions in query, but I'm not sure how exactly this…
Guhan
  • 35
  • 6
0
votes
1 answer

How to change query condition (not parameter)?

I want to reuse queries, and I know it is possible to change parameter, but how does one change the condition? And do we have to always call query.close()?
nonson
  • 127
  • 1
  • 6
0
votes
0 answers

Is there a way to secure data created using Objectbox?

I am currently working on a project using ObjectBox as a database configuration but I want to make sure I can secure the data that I am storing. None of it is sensitive but it is desired in order to reassure the end user. Has anyone had any luck…
0
votes
1 answer

Objectbox: ObjectBoxException 10101 remove failed

I am getting the above error while removing multiple box data in transaction. I need to know what is the reason for that and what can be done to avoid this. Thanks very much for the help. Stack trace is mentioned below. Non-fatal Exception:…
raphire
  • 198
  • 9
0
votes
0 answers

What is the best performing way to use Query.watch()?

Here is my situation: I have a chat app, which has a ListView of all the chats on the main screen. Each ListTile has widgets such as unread icons, chat title, etc. Currently, I have set it up so that these small widgets have their own query watcher…
Tanay Neotia
  • 445
  • 3
  • 14
0
votes
0 answers

Flutter ObjectBox DB: secure input

in most form cases in all programming languages we validate form input from hacking by sql injection. in my Flutter App (Dart Lang) I'm using ObjectBox database which is NoSQL Database. from seurity aspect, is it necessary to validate form inputs?…
Poula Adel
  • 609
  • 1
  • 10
  • 33
0
votes
0 answers

How to query a ToMany object excuding certain values from the relation

I have a simple structure like this, one Person with many Orders. If a Person has placed many Orders (with codes 1,2 or 3) how do you return Persons with Orders that match only code 3 i.e.: they haven't ordered 1 or 2? If I have the code below this…
Fuxster
  • 1
  • 1
0
votes
1 answer

where should we initialize ObjectBox Store with navigation 2.0 in flutter?

i'm building a flutter App using navigation 2.0 and i'm starting to use ObjectBox library to store user appdata. for now i initialize it that way in my main.dart then import the variable objectBox whenever i want to use it in the viewModels. late…
Badr Erraji
  • 141
  • 1
  • 11
0
votes
0 answers

Flutter - GetX - ObjectBox : Clean code structure Advice needed

I'm new to flutter but I'm trying to learn it the right way (Clean Structure) so that I can reuse my code later, although I'm a Programmer for 7 years and I know the concepts. the App is using these packages (GetX & ObjectBox), the issue is that I…
Poula Adel
  • 609
  • 1
  • 10
  • 33