- Preparing search index...
- The search index is not available
@tornado/sdk
Constructors
constructor
- new Base<T>(name, options?): Data.Cache.Base<T>
-
Parameters
-
name: string
-
Optional
options: Cache
Properties
Private
_adapter
_adapter: any
Private
_path
_path: any
Private
_unzip
_unzip: any
db
db: Database<T>
isOpen
isOpen: boolean
name
name: string
Methods
clear
- clear(): Promise<void>
-
Returns Promise<void>
close
- close(): Promise<void>
-
Returns Promise<void>
get
- get(keys): Promise<T>
-
Returns Promise<T>
getRows
- getRows(emptyError?, options?): Promise<Rows<T>>
-
Parameters
-
Optional
emptyError: Error
-
Optional
options: any
Returns Promise<Rows<T>>
zip
- zip(outDirPath?, close?): Promise<void>
-
Parameters
-
Optional
outDirPath: string
-
Optional
close: boolean
Returns Promise<void>