- Preparing search index...
- The search index is not available
@tornado/sdk
Constructors
constructor
- new Base<T>(name, options?): Data.Cache.Base<T>
-
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>>
jsonify
- jsonify(outDirPath?): Promise<void>
-
Parameters
-
Optional
outDirPath: string
Returns Promise<void>
zip
- zip(outDirPath?, close?): Promise<void>
-
Parameters
-
Optional
outDirPath: string
-
Optional
close: boolean
Returns Promise<void>