SimpleKVStore
定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:35
new SimpleKVStore(
data):SimpleKVStore
定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:38
DataType = {}
SimpleKVStore
放置(
key,val,collection):Promise<void>
定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:42
string
string = DEFAULT_COLLECTION
Promise<void>
获取(
key,collection):Promise<StoredValue>
定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:57
string
string = DEFAULT_COLLECTION
Promise<StoredValue>
getAll()
Section titled “getAll()”getAll(
collection):Promise<Record<string,StoredValue>>
定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:71
string = DEFAULT_COLLECTION
Promise<Record<string, StoredValue>>
delete()
Section titled “delete()”delete(
key,collection):Promise<boolean>
定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:78
string
string = DEFAULT_COLLECTION
Promise<boolean>
persist()
Section titled “persist()”persist(
persistPath):Promise<void>
定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:92
persistPath
Section titled “persistPath”string
Promise<void>
fromPersistPath()
Section titled “fromPersistPath()”
staticfromPersistPath(persistPath,options?):Promise<SimpleKVStore>
定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:101
persistPath
Section titled “persistPath”string
日志记录器?
Section titled “logger?”Logger
Promise<SimpleKVStore>
toDict()
Section titled “toDict()”toDict():
DataType
定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:130
fromDict()
Section titled “fromDict()”
staticfromDict(saveDict):SimpleKVStore
定义于:.build/typescript/packages/core/src/storage/kv-store/index.ts:134
saveDict
Section titled “saveDict”SimpleKVStore