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