[英]Can I do CRUD operations with Couchbase Lite through CouchbaseClient
We are currently using Couchbase in a product (not released) but we are thinking of using Couchbase Lite in our test environment. 我们目前在产品中使用Couchbase(未发布),但我们正在考虑在我们的测试环境中使用Couchbase Lite。 However can we use com.couchbase.client.CouchbaseClient to do CRUD operations on Couchbase Lite? 但是,我们可以使用com.couchbase.client.CouchbaseClient在Couchbase Lite上执行CRUD操作吗?
I have googled it and read Couchbase Lite doc but I can not get any answers. 我用Google搜索并阅读了Couchbase Lite文档,但我无法得到任何答案。
No, it doesn't have the same interface as Couchbase server. 不,它没有与Couchbase服务器相同的界面。 It is intended to work on mobile platforms (IOS/Android) and you don't run the Couchbase server SDK's on those devices. 它适用于移动平台(IOS / Android),您不会在这些设备上运行Couchbase服务器SDK。 Couchbase Lite isn't a substitute for Couchbase server. Couchbase Lite不能替代Couchbase服务器。
However, that being said, we do have a Go lang based "lite" version of Couchbase server called cbgb that you can use. 然而,话虽如此,我们确实有一个基于Go lang的“精简版”Couchbase服务器,名为cbgb,你可以使用它。 It's not as scalable as Couchbase server (doesn't cluster or scale horizontally), but is definitely usable for a lot of circumstances: http://cbgb.io/ to check it out. 它不像Couchbase服务器那样具有可扩展性(不会水平集群或扩展),但在很多情况下肯定可用: http : //cbgb.io/来检查它。
除了@ scalable3提到的内容之外,对于Couchbase Lite的GA,我们正致力于一个解决方案,该解决方案应该允许您使用Couchbase Lite和Sync Gateway以及现有的Couchbase Server存储桶。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.