@clickup/pg-mig
Version:
PostgreSQL schema migration tool with microsharding and clustering support
14 lines • 359 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DefaultMap = void 0;
class DefaultMap extends Map {
getOrAdd(k, def) {
if (!this.has(k)) {
this.set(k, def);
return def;
}
return this.get(k);
}
}
exports.DefaultMap = DefaultMap;
//# sourceMappingURL=DefaultMap.js.map