Hey I am moving from firebase to appwrite and I want to know if there is a way to convert a document list to a a list of my specific class without having to loop through each result. I see a *nestedType *attribute in the *listDocuments *call, how do I use this? I saw no example of this in the docs.
could you link the place you read this?
I got the nested type attribute by reading through the SDK here: https://github.com/appwrite/sdk-for-android/blob/32e2c6e2e12a0202757ad63adb75e8d3054443e7/library/src/main/java/io/appwrite/services/Databases.kt#L33
Honestly, I am not sure how and if you can implement this. Going through the docs at https://appwrite.io/docs/client/databases?sdk=android-kotlin#databasesListDocuments, it seems like there is no option for nestedTypes
I might be wrong, so i guess wait for a developer to respond
Recommended threads
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...
- I'm experiencing a critical bug on Appwr...
Hey <@870607367597850624> team / support 👋 I'm experiencing a critical bug on Appwrite Cloud that's blocking my production Flutter app. I've already filed GitH...
- Database listRows method call failing in...
I'm getting an error when trying to use listRows in a flutter app on a database. It seems something in the backend has changed because the production version of...