简体   繁体   English

我可以通过CouchbaseClient使用Couchbase Lite进行CRUD操作吗?

[英]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.

相关问题 Spring如何通过CrudRepository进行CRUD操作? - How can I do CRUD operations through CrudRepository in Spring? 如何使用Spring Secuity保护所有CRUD操作? - How do I use Spring Secuity to secure all CRUD operations? 我可以在简单的Java Crud操作中使用Firebase吗? - Can I use Firebase in my simple java crud operations? 如何通过基于Java的Web服务在现有数据模型上轻松公开CRUD操作? - How do I easily expose CRUD operations, via a Java based Web Service, on an existing data model? Couchbase:java.lang.NoSuchMethodError:com.couchbase.client.CouchbaseClient.getView - Couchbase: java.lang.NoSuchMethodError: com.couchbase.client.CouchbaseClient.getView 我是否必须拆分具有多个端点的 controller,这些端点代表更复杂的 object 的组件的 CRUD 操作? - Do I have to split a controller with multiple endpoints which represent the CRUD operations of components of a more complex object? 如何使用带有 Couchbase 的 spring 数据进行分页和排序 - How can I do paging and sorting using spring data with Couchbase 在 Spring Boot 中无法通过 Neo4j 实现 CRUD 操作 - Cannot implement CRUD operations through Neo4j in Spring Boot 我可以对Number基类进行算术运算吗? - Can I do arithmetic operations on the Number baseclass? 我可以在关机时进行 Swing 操作吗? - Can I do Swing operations at shutdown time?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM