本页还没有译文
本页 14 段还没译成简体中文,下面显示的是英文原文。withCollectionConfigFactory
还没翻译译自英文(tanstack.com)本页 14 段都还没译
function withCollectionConfigFactory<TConfig>(config, factory): CollectionConfigWithFactory<TConfig>;Defined in: packages/db/src/client.ts:83
Adds a fresh-config materializer to an adapter options object.
Adapter option creators should use this so a module-scoped descriptor can be materialized safely by more than one DbClient.
Type Parameters
TConfig
TConfig extends AnyCollectionConfig
Parameters
config
TConfig
factory
(client) => TConfig
Returns
CollectionConfigWithFactory<TConfig>
AI 翻译查看英文原文