I mean, instead of having a single query for a given input would give me a result, I would have three queries. (e.g query(input) = result) The first one is for choosing the result, select(input) = result The second one is for creating some elements from the result, create(result) = creation And the third one, is for updates on the "input", update(result) = updatedResultI mean, instead of having a single query for a