Skip to content

Indexes manager #415

@edobrb

Description

@edobrb

usage:

const plan = await entityManager.planIndexes({ ...typed indexes definition... })
console.table(plan)
const applied = await entityManager.applyIndexes(plan)
console.table(applied)

exposed types:

const Indexes = EntityManagerTypes<...>['indexes']
const allIndexes: Required<Indexes> = { ... definition of indexes for each collection ... }
await entityManager.applyIndexes(allIndexes)

drivers:

  • MongoDB support
  • Knex support

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions