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

Function toIndexableString

lib/index-browser.js:3486–3490  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

3484// for lexical sorting, e.g. within a database, where the
3485// sorting is the same given by the collate() function.
3486function toIndexableString(key) {
3487 var zero = '\u0000';
3488 key = normalizeKey(key);
3489 return collationIndex(key) + SEP + indexify(key) + zero;
3490}
3491
3492function parseNumber(str, i) {
3493 var originalIdx = i;

Callers 3

indexifyFunction · 0.70
queryViewInQueueFunction · 0.70

Calls 3

normalizeKeyFunction · 0.70
collationIndexFunction · 0.70
indexifyFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…