if offline
(a) I add a new driver..bb-offline creates a local_id and sid:'new'
(b) then create a new delivery using the driver created in (a)...the delivery.driver_id field will have the driver.local_id value
How do I insure that on sync the driver is updated first...and then the delivery.driver_id is updated with the driver.sid value once assigned?
I have 3 collections
if offline (a) I add a new driver..bb-offline creates a local_id and sid:'new' (b) then create a new delivery using the driver created in (a)...the delivery.driver_id field will have the driver.local_id value
How do I insure that on sync the driver is updated first...and then the delivery.driver_id is updated with the driver.sid value once assigned?