MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / get

Method get

packages/core/src/cache/CacheAdapter.ts:6–6  ·  view source on GitHub ↗

* Gets the items under `name` key from the cache.

(name: string)

Source from the content-addressed store, hash-verified

4 * Gets the items under `name` key from the cache.
5 */
6 get<T = any>(name: string): T | Promise<T | undefined> | undefined;
7
8 /**
9 * Sets the item to the cache. `origin` is used for cache invalidation and should reflect the change in data.

Callers 15

getMethod · 0.65
getMethod · 0.65
toObjectMethod · 0.65
processEntityMethod · 0.65
processCollectionMethod · 0.65
processEntityMethod · 0.65
processCollectionMethod · 0.65
getTypeFunction · 0.65
getPkGetterMethod · 0.65
getPkGetterConvertedMethod · 0.65
getPkSerializerMethod · 0.65
getSnapshotGeneratorMethod · 0.65

Implementers 5

GeneratedCacheAdapterpackages/core/src/cache/GeneratedCache
MemoryCacheAdapterpackages/core/src/cache/MemoryCacheAda
ResultCacheAdapterNulltests/issues/GH6585.test.ts
ResultCacheAdapterMocktests/issues/GH6585.test.ts
RecordingAdaptertests/issues/GH7644.test.ts

Calls

no outgoing calls

Tested by

no test coverage detected