I'm unclear about the requirements for using Couchbase-lite.
Is it possible to use Couchbase-lite with CouchDB? Or does Couchbase-lite require Couchbase Server and Sync Gateway?
Thanks!
相关问题
- Ionic Spinner not showing up
- Couchbase & Spring query error: “Query returning a
- Error: Cannot access database on the main thread s
- Video Format that Works on Mobile Phones
- Is it possible to customize Flutter Webview error
相关文章
- is there a “rails” way to redirect if mobile brows
- How to get last created document in couchdb?
- Ascii check mark is always red in mobile
- how to tell if android user came from home screen
- Overlapping Text in CSS - How do I change it?
- Bucket password in Couchbase
- Why do mobile browsers load my page completely zoo
- CouchDB Java client
As of Couchbase Lite 2.0, it is no longer compatible with CouchDB. It now requires a Sync Gateway. You will need to use Couchbase Lite 1.x.
https://docs.couchbase.com/couchbase-lite/2.1/swift.html#compatibility
I just started using recently using but I hope My answer will be use for some scenario..
coming to your question It all depends on your requirement..
1: If you want to offline and online synchronization you must go with sync gateway.
2: I don't want synchronization means no need of going with syncgateway.
According to the documents it is 100% compatible with both CouchDB and Couchbase.
http://docs.couchbase.com/couchbase-lite/cbl-concepts/#can-couchbase-lite-replicate-with-apache-couchdb-serversAlso I found this blog post on syncing IOS with CouchDB, might be useful! http://blog.lunarlogic.io/2013/synchronization-using-couchdb/
Edit
Official Couchbase link above isn't valid anymore however the following official article from Couchbase lists the other databases that are compatible: (CouchDB,PouchDB,Cloudant)http://developer.couchbase.com/documentation/mobile/current/develop/guides/couchbase-lite/native-api/replication/index.html
Couchbase Lite implements the CouchDB replication protocol and is 100% compatible with CouchDB. However, Couchbase Server does not require certain document metadata that CouchDB documents contain for performance reasons. Sync Gateway is how the necessary meta-data gets added to Couchbase Server.