dist/cjs/src/decorators/indexing.js
function getDbIndexes(modelKlass) {
    const modelName = modelKlass.constructor.name;
    return modelName === "Model"
        ? typed_conversions_1.hashToArray(exports.indexesForModel[modelName])
        : (typed_conversions_1.hashToArray(exports.indexesForModel[modelName]) || []).concat(typed_conversions_1.hashToArray(exports.indexesForModel.Model));
}
function getDbIndexes(modelKlass) {
    const modelName = modelKlass.constructor.name;
    return modelName === "Model"
        ? typed_conversions_1.hashToArray(exports.indexesForModel[modelName])
        : (typed_conversions_1.hashToArray(exports.indexesForModel[modelName]) || []).concat(typed_conversions_1.hashToArray(exports.indexesForModel.Model));
}
function getDbIndexes ( modelKlass ) { const modelName = modelKlass . constructor . name ; return modelName === "Model" ? typed_conversions_1 . hashToArray ( exports . indexesForModel [ modelName ] ) : ( typed_conversions_1 . hashToArray ( exports . indexesForModel [ modelName ] ) || [ ] ) . concat ( typed_conversions_1 . hashToArray ( exports . indexesForModel . Model ) ) ; }
Gets all the db indexes for a given model
Gets all the db indexes for a given model