I am creating a mutation which works but I am not sure if it is working the way that I think it is. However, I would like to know what is the order of execution?
- Async
- Sync Top to Bottom
- Sync random order
- Something else
I want to make sure that certain items are deleted from a table before the insert/upsert is executed. Using the following mutation query string, will this always do what I want or will it not work from time-to-time because I assume it is Synchronous but in reality it is Asynchronous?
mutation MyMutation(...) {
update_my_table_1(...) { }
delete_my_table_2(...) { }
insert_my_table_2(...) { }
}