UNPKG

nest-typeorm-sharding-repository

Version:

This module extends TypeORM capabilities to support distributed database environments with List and Range-based sharding strategies in a NestJS application.

10 lines (9 loc) 325 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ShardingType = void 0; var ShardingType; (function (ShardingType) { ShardingType["RANGE"] = "RANGE"; // MODULAR = 'MODULAR', ShardingType["LIST"] = "LIST"; })(ShardingType = exports.ShardingType || (exports.ShardingType = {}));