CouchDB 0.11的主要新功能是什么 [英] What are the major new features of CouchDB 0.11

查看:63
本文介绍了CouchDB 0.11的主要新功能是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

0.11版本的CouchDB有哪些值得学习的功能?有哪些资源可用于学习这些新开发?

What are the features worth learning in the 0.11 release of CouchDB? What resources are there to learn about these new developments?

推荐答案

功能




  • 通过重写和虚拟主机规则(可以同时使用或单独使用)的很好的URL

  • 视图可以引用任何文档ID,因此当您使用 include_docs = true 查询时,可以获得一个任意文档,而不是生成该视图行的文档。

  • 复制


    • (可选)在复制之前自动创建目标数据库(非常方便!)

    • 可选地指定文档ID列表复制而不是整个shebang

    • 复制过滤器:返回是否应复制文档的Javascript函数

    • Features

      • Nice URLs via rewrite and virtual host rules (which you can use in tandem or individually)
      • Views can reference any document ID so when you query with include_docs=true you can get an arbitrary document instead of the one that generated that view row
      • Replication
        • Optionally auto-create a target DB before replicating (quite convenient!)
        • Optionally specify a list of doc IDs to be replicated instead of the whole shebang
        • Replication filters: Javascript functions that return whether a document should be replicated
        • 请务必检查 B Wiki页面。

          Be sure to check the 0.11 section of the Breaking changes wiki page.

          但是,另一个很棒的资源是Jan在Couchio博客中的文章:

          However, another great resource is Jan's writeup in the Couchio blog:


          1. 不错的网址

          2. 视图,联接,原始排序规则

          3. 复制

          1. Nice URLs
          2. Views, Joins, Raw Collation
          3. Replication

          这篇关于CouchDB 0.11的主要新功能是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆