mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
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:
parent
b2d26b07ec
commit
67c896ff11
6
src/cache/QueryResultCache.ts
vendored
6
src/cache/QueryResultCache.ts
vendored
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user