如何将数据从Coredata移至iOS中的Firestore?
我正在研究一个iOS应用程序,其中我必须将数据从Coredata发送到Firestore。我想实现以下功能。
- 从Coredata获取用户的数据,包括每个表的属性和关系。
- 将获取的数据发送到Firestore。
我正在使用DFS算法来解析属性和关系,创建每个记录的JSON,然后将其发送到Firestore。
我的问题是:
是正确的方法还是有更好的方法?
建议是高度明显的。
I am working on an iOS app in which i have to send data from my coreData to the Firestore. I want to implement following features.
- Fetching user's data from coreData including each table's attributes and relationships.
- Sending fetched data to the Firestore.
I am using DFS algorithm to parse the attributes and relationships, creating JSON of each record and then sending it to firestore.
My question is:
is it a right approach or there is a better way ?
Suggestions are highly appreciable.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论