Class: SimpleDocumentStore
Extends
KVDocumentStore
Constructors
new SimpleDocumentStore()
new SimpleDocumentStore(
kvStore
?,namespace
?):SimpleDocumentStore
Parameters
• kvStore?: SimpleKVStore
• namespace?: string
Returns
Overrides
KVDocumentStore.constructor
Source
packages/core/src/storage/docStore/SimpleDocumentStore.ts:18
Properties
kvStore
private
kvStore:SimpleKVStore
Source
packages/core/src/storage/docStore/SimpleDocumentStore.ts:16
Methods
addDocuments()
addDocuments(
docs
,allowUpdate
):Promise
<void
>
Parameters
• allowUpdate: boolean
= true
Returns
Promise
<void
>