dce-mango
Version:
Harvard DCE's Non-relational DB Wrapper.
13 lines • 521 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Given the name of a collection, returns the corresponding lock collection's name.
* @author Benedikt Arnarsson
* @param collectionName the collection whose lock collection we want to find.
* @returns the name of the corresponding lock collection.
*/
const getLockCollectionName = (collectionName) => {
return `${collectionName}_locks`;
};
exports.default = getLockCollectionName;
//# sourceMappingURL=getLockCollectionName.js.map