私は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);