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
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...