MCPcopy
hub / github.com/apache/pouchdb / parseViewName

Function parseViewName

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

Source from the content-addressed store, hash-verified

8091const CHANGES_BATCH_SIZE$1 = 50;
8092
8093function parseViewName(name) {
8094 // can be either 'ddocname/viewname' or just 'viewname'
8095 // (where the ddoc name is the same)
8096 return name.indexOf('/') === -1 ? [name, name] : name.split('/');
8097}
8098
8099function isGenOne(changes) {
8100 // 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…