UNPKG

couchbase-index-manager

Version:
19 lines 583 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FeatureVersions = void 0; /** * Tests for compatibility with various features, * given a cluster version from clusterCompatibility. */ class FeatureVersions { /** * Tests for ALTER INDEX replica_count compatibility */ static alterIndexReplicaCount(version) { return !!version && (version.major > 6 || (version.major == 6 && version.minor >= 5)); } } exports.FeatureVersions = FeatureVersions; //# sourceMappingURL=feature-versions.js.map