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

Function encodePrefix

lib/index.js:4055–4057  ·  view source on GitHub ↗
(prefix, key, opts1, opts2)

Source from the content-addressed store, hash-verified

4053
4054function nut(db, precodec, codec) {
4055 function encodePrefix(prefix, key, opts1, opts2) {
4056 return precodec.encode([ prefix, codec.encodeKey(key, opts1, opts2 ) ]);
4057 }
4058
4059 function addEncodings(op, prefix) {
4060 if (prefix && prefix.options) {

Callers 2

nutFunction · 0.70
encodeKeyFunction · 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…