有没有一种方法可以配置 couchdb,使其自动为 _utils 视图上的新修订添加时间戳?

Is there a way to config couchdb such that it automatically adds a timestamp to a new revision on the _utils view?

我们向用户公开 couchdb 以根据他们的需要更新文档,问题是目前版本没有时间戳

有没有办法配置 couchdb 在修改文档时添加时间戳?

这应该可以通过 update function. You'll need to create a design document 用于您的数据库,并定义适当的更新函数来更新时间戳。