UNPKG

ottoman

Version:
12 lines 411 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indexFieldsName = void 0; const indexFieldsName = (fields) => { const fieldKeys = []; for (let i = 0; i < fields.length; ++i) { fieldKeys.push(fields[i].replace(/\./g, '::')); } return `${fieldKeys.join('$')}`; }; exports.indexFieldsName = indexFieldsName; //# sourceMappingURL=index-field-names.js.map