Let me explain a little bit of background before attempting my question:
I have 2 tables;
OrderBatchJob
Orders
OrderBatchJob has a field called ‘orders’ which has a 1-to-N relationship with the Orders table.
When my batch job processor (a Java based app) retrieves a new OrderBatchJob record from Backendless, I addRelation(“orders”) to get all its associated orders.
The batch job processing occurs in several stages, and at at stage I modify the the contents of OrderBatchJob.status (a simple string field) and then run a .save operation on it.
This operation means all the Orders associated with it (i.e. OrderBatchJob.orders) are also sent back to Backendless from the client for every .save() invokation. I’d like to speed up the transaction by somehow only modifying OrderBatchJob.status and leaving OrderBatchJob.orders as they were at the point in time of the original retrieval. Is there a way to do this?
In SQL terms it’s like I just want to update one field in in the parent table.