Closed qiantao94 closed 7 years ago
For example:
User().update(query = { query -> query.equalTo("id", 1) },
modify = { user -> user.name = "update" })
Thanks for your PR! In a few days, I will merge it into master.
Hi @bestTao , I have merged your PR into master. You can now find a new method called queryAndUpdate() in version 1.2.0
Use this function, we can find a first entry by the specified query, then modify and update it.