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
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...
- Database Write Limits hit
Hello Appwrite Admins, I'm a GitHub Education user, and about a week ago, my database was really badly optimized, resulting in about 600k writes in a single day...
- How i can call increment with operators ...