MCPcopy Index your code
hub / github.com/apache/pouchdb / parseViewName

Function parseViewName

lib/index-browser.es.js:8089–8093  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

8087const CHANGES_BATCH_SIZE$1 = 50;
8088
8089function parseViewName(name) {
8090 // can be either 'ddocname/viewname' or just 'viewname'
8091 // (where the ddoc name is the same)
8092 return name.indexOf('/') === -1 ? [name, name] : name.split('/');
8093}
8094
8095function isGenOne(changes) {
8096 // only return true if the current change is 1-

Callers 3

httpQueryFunction · 0.70
localViewCleanupFunction · 0.70
queryPromisedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…