Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前在 iOS 应用程序中使用 Realm 作为离线数据库。如果我要添加对 Realm 移动平台的支持,它会自动抓取所有 Realm 用户数据并将其迁移到云端吗?或者是否需要一些代码将数据移动到云端?
Realm Mobile Platform 不是云服务,而是由 Realm Object Server、您可以自己运行的服务器应用程序(支持各种 Linux 风格)和 Realm Mobile Database 组成。如果您现在已经在您的应用程序中使用 Realm 移动数据库,那么您不能只升级并期望这些 Realm 与 Realm 对象服务器同步。相反,您可以通过新的 API 创建同步的 Realm,并将现有 Realm 中的数据复制到同步的 Realm 中。