Store
Defined in: src/backends/store/store.ts:21
Represents a key-value store.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”flags?
Section titled “flags?”
readonlyoptionalflags?: readonly"partial"[]
Defined in: src/backends/store/store.ts:57
Use for optimizations
label?
Section titled “label?”
readonlyoptionallabel?:string
Defined in: src/backends/store/store.ts:37
A name for this instance of the store. For example, you might use a share name for a network-based store
readonlyname:string
Defined in: src/backends/store/store.ts:31
What the file system using this store should be called. For example, tmpfs for an in memory store
readonlyoptionaltype?:number
Defined in: src/backends/store/store.ts:25
FileSystem#id
readonlyoptionaluuid?:`${string}-${string}-${string}-${string}-${string}`
Defined in: src/backends/store/store.ts:42
A UUID for this instance of the store.
Methods
Section titled “Methods”sync()
Section titled “sync()”sync():
Promise<void>
Defined in: src/backends/store/store.ts:47
Syncs the store
Returns
Section titled “Returns”Promise<void>
transaction()
Section titled “transaction()”transaction():
Transaction
Defined in: src/backends/store/store.ts:52
Begins a new transaction.
Returns
Section titled “Returns”usage()?
Section titled “usage()?”
optionalusage():UsageInfo
Defined in: src/backends/store/store.ts:62
Usage information for the store