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

Function toIndexableString

lib/index.js:3326–3330  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

3324// for lexical sorting, e.g. within a database, where the
3325// sorting is the same given by the collate() function.
3326function toIndexableString(key) {
3327 var zero = '\u0000';
3328 key = normalizeKey(key);
3329 return collationIndex(key) + SEP + indexify(key) + zero;
3330}
3331
3332function parseNumber(str, i) {
3333 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…