I am developing a Flutter application containing nested data (having more than 3 levels of nesting) e.g. StudentClass -> Student[] -> Person -> Contact -> Place i.e. StudentClass containing Student (list), Student containing Person, and so on. I am unable to handle such situations. Please suggest some tutorials for such applications containing nested data.
It depends on how your app works. For example, if you end up opening a person, you fetch the person when you open that person route/page
Thank you very much for your reply. I would like to fetch StudentClass data containing all related data of all the students, or the data of a single student in class containing all the related data. This will be possible if we have relationships for more than 3 levels.
you can achive this using relationships, I'm using 2 levels in my flutter app and I'm using relationships to get the data in single request. you can do the same for 3 levels.
Relationships are currently limited to three levels.
so it will work for him for 3 levels
No, he wants five levels
then he should restructure his database, to optimize his requests make it posibble with 3 levels.
Recommended threads
- 1:1 relationship doesn’t sync after re-a...
Hi, I’m trying to use a two-way one-to-one relationship. It works fine when I create a record with the relationship set, and it also works when I unset it. But ...
- Upsert with setting permissions
Hi there, I am using self-hosted appwrite v1.7.4 and trying to use the bulk update stuff that was released with 1.7.x. Unfortunally I found that there is an ser...
- One to many 2 way, console UI not correc...
Hey, seems I'm facing the exactly same issue with this one: https://github.com/appwrite/appwrite/issues/6016 Since this Github issue stay open for so long, let ...