0

我一直在使用 CouchDB。现在我正在尝试将我的应用程序从 CouchDb 迁移到 CouchBase。

什么是等效代码

public CouchResponse CreateDocument(string jsonForDocument);

在沙发上。?

我已经使用以下代码来查询 couchdb 中的创建文档..

CouchDatabase oCouchDB;

oClient = new CouchClient(host, port, username, password, false, AuthenticationType.Cookie, 30000);
oCouchDB = oClient.GetDatabase(baseDatabase);
CouchResponse resp = oCouchDB.CreateDocument(jsonString);
4

1 回答 1

1

Couchbase 中的 CRUD 函数是通过 memcached API(键/值)执行的。

请参阅http://www.couchbase.com/develop/net/next了解更多信息。

于 2012-10-29T15:07:07.737 回答