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

Function paramsToStr

lib/index.es.js:6790–6797  ·  view source on GitHub ↗
(params)

Source from the content-addressed store, hash-verified

6788}
6789
6790function paramsToStr(params) {
6791 const paramKeys = Object.keys(params);
6792 if (paramKeys.length === 0) {
6793 return '';
6794 }
6795
6796 return '?' + paramKeys.map(key => key + '=' + encodeURIComponent(params[key])).join('&');
6797}
6798
6799function shouldCacheBust(opts) {
6800 const ua = (typeof navigator !== 'undefined' && navigator.userAgent) ?

Callers 3

doBulkGetFunction · 0.70
HttpPouchFunction · 0.70
fetchDataFunction · 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…