IndexResolver

类型别名: IndexResolver<TKey>

ts
type IndexResolver<TKey> = 
  | IndexConstructor<TKey>
| () => Promise<IndexConstructor<TKey>>;
type IndexResolver<TKey> = 
  | IndexConstructor<TKey>
| () => Promise<IndexConstructor<TKey>>;

定义于: packages/db/src/indexes/base-index.ts:117

Index resolver 可以是类构造函数或异步加载器

类型参数

TKey 扩展 string | number = string | number

我们的合作伙伴
Code Rabbit
Electric
Prisma
订阅 Bytes

您的每周 JavaScript 资讯。每周一免费发送给超过 10 万开发者。

Bytes

无垃圾邮件。您可以随时取消订阅。

订阅 Bytes

您的每周 JavaScript 资讯。每周一免费发送给超过 10 万开发者。

Bytes

无垃圾邮件。您可以随时取消订阅。