jstests/libs/override_methods/inject_tenant_prefix.js
/**
 * Remove a tenant prefix from the provided namespace, if applicable.
 */
Remove a tenant prefix from the provided namespace, if applicable.
Remove a tenant prefix from the provided namespace if applicable .
function extractOriginalNs(ns) {
    const splitNs = ns.split(".");
    splitNs[0] = extractOriginalDbName(splitNs[0]);
    return splitNs.join(".");
}
function extractOriginalNs ( ns ) { const splitNs = ns . split ( "." ) ; splitNs [ 0 ] = extractOriginalDbName ( splitNs [ 0 ] ) ; return splitNs . join ( "." ) ; }
Remove a tenant prefix from the provided namespace, if applicable.
Remove a tenant prefix from the provided namespace if applicable .