(mapFun, reduceFun)
| 8012 | |
| 8013 | /* create a string signature for a view so we can cache it and uniq it */ |
| 8014 | function createViewSignature(mapFun, reduceFun) { |
| 8015 | // the "undefined" part is for backwards compatibility |
| 8016 | return stringify(mapFun) + stringify(reduceFun) + 'undefined'; |
| 8017 | } |
| 8018 | |
| 8019 | async function createView(sourceDB, viewName, mapFun, reduceFun, temporary, localDocName) { |
| 8020 | const viewSignature = createViewSignature(mapFun, reduceFun); |
no test coverage detected
searching dependent graphs…