This guide provides a comprehensive roadmap for migrating from MongoDB Atlas Device Sync to Ditto.
Managing the Mesh > Customizing Transports
_id
and are usually UUIDs.Map<String, Any>
or as a JSON string, which you may consider deserializing as native data types.ditto.store
object to insert your data. This ensures new records are synced efficiently across peers in real-time.
execute
method on the ditto.store
using the same query (for example: “SELECT * FROM todos WHERE isDeleted = false”
)
ditto.store
object. Ditto lets you sync the minimum data needed, ensuring that all peers converge on the same version of the data across the network.
ditto.login
method.ditto.login
is called, Ditto forwards the user token to the customer’s authorization endpoint.