Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/typeorm/src/cache/QueryResultCacheOptions.ts>QueryResultCacheOptions

Forked from https://github.com/typeorm/typeorm
Latest
interface QueryResultCacheOptions
import { type QueryResultCacheOptions } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/cache/QueryResultCacheOptions.ts";

Options passed to QueryResultCache class.

Properties

identifier: string

Cache identifier set by user. Can be empty.

optional
time: number

Time, when cache was created.

duration: number

Duration in milliseconds during which results will be returned from cache.

query: string

Cached query.

optional
result: any

Query result that will be cached.