docs: Update QueryResultCache method descriptions (#11192)

Correct the description for getFromCache,
matching the descriptions found on the redis and
db cache implementations. Also correct grammar
on the description of the synchronize method.
This commit is contained in:
Mike Guida 2024-12-29 08:25:19 -07:00 committed by GitHub
parent b2d26b07ec
commit 67c896ff11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,12 +16,14 @@ export interface QueryResultCache {
disconnect(): Promise<void>
/**
* Performs operations needs to be created during schema synchronization.
* Perform operations during schema synchronization.
*/
synchronize(queryRunner?: QueryRunner): Promise<void>
/**
* Caches given query result.
* Get data from cache.
* Returns cache result if found.
* Returns undefined if result is not cached.
*/
getFromCache(
options: QueryResultCacheOptions,