function withCollectionConfigFactory<TConfig>(
config,
factory,
claim?): CollectionConfigWithFactory<TConfig>;Defined in: packages/db/src/client.ts:96
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.
TConfig extends AnyCollectionConfig
TConfig
(client) => TConfig
() => void | () => void
CollectionConfigWithFactory<TConfig>