Can I use MongoDB as a replacement for CoreData on iOS?

前端 未结 8 1397
名媛妹妹
名媛妹妹 2021-02-01 18:32

I\'m just starting to read up on NoSQL technologies such as MongoDB and CouchDB. I\'m interested in knowing whether I can use MongoDB or indeed any NoSQL technology as a replace

8条回答
  •  遇见更好的自我
    2021-02-01 19:02

    MongoDB is not designed to be used as an embedded database. It is designed for speed and scalability and unlikely fits the architecture of an embedded OS like IOS. However talking to some MongoDB-backed service in the "cloud" through standard protocols like HTTP/S should not be an issue. You just need to write some web-gateway in front of MongoDB.

提交回复
热议问题