Skip to main content
Module

x/typeorm/src/index.ts>MongoEntityManager#reIndex

Forked from https://github.com/typeorm/typeorm
Latest
method MongoEntityManager.prototype.reIndex
Re-export
import { MongoEntityManager } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts";

Reindex all indexes on the collection Warning: reIndex is a blocking operation (indexes are rebuilt in the foreground) and will be slow for large collections.

Parameters

entityClassOrName: ObjectType<Entity> | EntitySchema<Entity> | string

Returns

Promise<any>