【问题标题】:Creating a new bucket in Couchbase with Nodejs SDK使用 Nodejs SDK 在 Couchbase 中创建新存储桶
【发布时间】:2014-07-23 23:21:54
【问题描述】:

据我了解,Couchbase 中的 BucketCouchDb 中的 Database 相同,nodedocument 相同. 这些推论正确吗?

那么,使用 NodeJs SDK 创建new Bucket 的代码是什么? 我找不到相关文档。

【问题讨论】:

    标签: node.js couchbase


    【解决方案1】:

    Couchbase 中的BucketCouchDb 和其他数据库系统中的Database 是正确的。然而,CouchDB 中的DocumentCouchbase 中的Document 相同。 Couchbase Node 是集群中的单个服务器。

    Manual 更详细地介绍了沙发底座的高级概念。

    NodeJS SDK 的当前版本 (1.2.4) 无法创建 new bucket。 Couchbase 确实有 RESTful API 允许创建存储桶。

    Couchbase 正在开发一个新的2.0.0 nodeJS,它将支持创建存储桶。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-03-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多