Skip to content

createLookupCache

createLookupCache(): LookupCache

Defined in: packages/db/src/utils.ts:78

Creates a fresh per-request lookup cache. Exposed for tests and for the Db wrapper that establishes the ALS scope; normal framework consumers should rely on runWithLookupCache or the automatic scope that createDb() sets up on every invocation.

LookupCache