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

Function parseViewName

lib/index.js:8131–8135  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

8129const CHANGES_BATCH_SIZE$1 = 50;
8130
8131function parseViewName(name) {
8132 // can be either 'ddocname/viewname' or just 'viewname'
8133 // (where the ddoc name is the same)
8134 return name.indexOf('/') === -1 ? [name, name] : name.split('/');
8135}
8136
8137function isGenOne(changes) {
8138 // 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…