i want to send multiple CRUD operations in one request in flutter app i see graphQL and it is working on python server but in flutter only works with one query , how can i do that ??
hi
Can you share both the python and dart code?
python code with list of queries
dart code with only one query and i can not make list of queries !!!?
Python isn't strict with typing so you don't get any warnings. Dart is different
I think you can still batch multiple in that mutation, right?
Python Code is work and do all queries fine, but in dart code there is no ability to add second query !
You can concatenate mutations like this but I wouldn't recommend it unless they are somehow related.
mutation updateSomeStuffs($uid: String!, $birthday: String!, $imgId: Int!, $albumId: Int) {
updateBirthday(userId: $uid, birthday: $birthday) {
success
}
saveImage(imgId: $imgId, albumId: $albumId) {
success
status
}
}
Recommended threads
- Export, Import or Migration giving this ...
As you can see in yhe screenshot i am not able to export any data or export the data from tables. Also it is affecting the migration from appwrite to appwrite h...
- Error With iOS Apps
I keep getting the below errors for my flutter app. The clients are registered and have been. This wasn't an issue a few hours ago. AppwriteException: AppwriteE...
- I'm getting an error on the console "j?....
On my self hosted instance version 1.8.1 the console is giving me this error when trying to view the rows for a table I recently created. My application is read...