
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
- Upgrade from 1.6.2 to 1.7.2 error during...
I just went through the process of upgrading my selfhosted instance from `1.6.2` to `1.7.2`: ``` docker run -it --rm \ --volume /var/run/docker.sock:/var/r...
- Search queries
do any of yall know how to properly search for single words in a name of a document? for example if the name is `Tape PP-Solvent 50mm/100m 28μm White`, I want ...
- Issue with Database
So, after adding the data in collection then for some reason it gets remove from the collection Why it's happening ? tried 3 times
