Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
factoryng中的默认设置会过滤掉设计文档。我怎样才能包含这些设计文件?
您可以通过该properties()方法定义它,例如:
properties()
var tasks = new Pouchyng('tasks', 'http://localhost:5984', yngutils.ASC); var config = { opts: { filter: function (doc) { return true; } } }; tasks.properties({ changes: config, to: config, from: config });