1. A method, comprising: by a computer device: receiving a batch of web operations that specify an action to be performed on application data stored in a cloud database, wherein the batch of web operations comprises one or more constraints associated with a database state; generating a temporary database in response to receiving the batch of web operations, wherein the temporary database includes data copied from the cloud database; removing the one or more constraints from the batch of web operations to yield a modified batch of web operations; translating the modified batch of web operations to a first set of database operations that are compatible with a data storage interface of the cloud database; applying the first set of database operations to the temporary database; generating, in response to applying the first set of database operations to the temporary database, a second set of database operations based on the first set of database operations applied to the temporary database; re-applying the one or more constraints to the second set of database operations; and applying the second set of database operations with the one or more constraints to the cloud database.