In this video, we will learn how to use the Backendless Transactions API to perform a bulk update operation on a collection of orders. We will see how to retrieve a collection of orders that meet a specific condition by using the find operation, and how to chain operations together by using the result of the find operation as the input for the update operation.
We will learn how the update operation works and how it relies on the result of the find operation. We will also show a simpler way to achieve the same outcome using the bulk update operation with a where clause. We demonstrate how to extract a single object from a collection of orders and update only that object by using the operation result reference.
Finally, we will modify the logic to update all of the orders by using the bulk update operation, and successfully update all of the orders to the new value.
Have questions? Post them in the comments below or get in touch at:
Support forum: https://support.backendless.com/
Slack channel: https://backendless.slack.com/
Telegram channel: https://t.me/backendless_chat
Start with Backendless for free today to follow along with this course: https://develop.backendless.com/regis...
Happy Coding!
#database #api