MCPcopy Create free account
hub / github.com/bytebase/dbhub / forEachSearchParam

Method forEachSearchParam

src/utils/safe-url.ts:145–147  ·  view source on GitHub ↗

* Helper method to iterate over all parameters * * @param callback - Function to call for each parameter

(callback: (value: string, key: string) => void)

Source from the content-addressed store, hash-verified

143 * @param callback - Function to call for each parameter
144 */
145 forEachSearchParam(callback: (value: string, key: string) => void): void {
146 this.searchParams.forEach((value, key) => callback(value, key));
147 }
148}

Callers 5

obfuscateDSNPasswordFunction · 0.95
parseMethod · 0.95
parseMethod · 0.95
parseMethod · 0.95
parseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected