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

Function parseViewName

lib/index.es.js:8126–8130  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

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