MCPcopy Create free account
hub / github.com/apache/pouchdb / paramsToStr

Function paramsToStr

lib/index-browser.js:6803–6810  ·  view source on GitHub ↗
(params)

Source from the content-addressed store, hash-verified

6801}
6802
6803function paramsToStr(params) {
6804 const paramKeys = Object.keys(params);
6805 if (paramKeys.length === 0) {
6806 return '';
6807 }
6808
6809 return '?' + paramKeys.map(key => key + '=' + encodeURIComponent(params[key])).join('&');
6810}
6811
6812function shouldCacheBust(opts) {
6813 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…