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