(mapFun, reduceFun)
| 8050 | |
| 8051 | /* create a string signature for a view so we can cache it and uniq it */ |
| 8052 | function createViewSignature(mapFun, reduceFun) { |
| 8053 | // the "undefined" part is for backwards compatibility |
| 8054 | return stringify(mapFun) + stringify(reduceFun) + 'undefined'; |
| 8055 | } |
| 8056 | |
| 8057 | async function createView(sourceDB, viewName, mapFun, reduceFun, temporary, localDocName) { |
| 8058 | const viewSignature = createViewSignature(mapFun, reduceFun); |
no test coverage detected
searching dependent graphs…