Class: SimpleDocumentStore
Hierarchy
-
KVDocumentStore
↳
SimpleDocumentStore
Constructors
constructor
• new SimpleDocumentStore(kvStore?
, namespace?
): SimpleDocumentStore
Parameters
Name | Type |
---|---|
kvStore? | SimpleKVStore |
namespace? | string |
Returns
Overrides
KVDocumentStore.constructor
Defined in
packages/core/src/storage/docStore/SimpleDocumentStore.ts:18
Properties
kvStore
• Private
kvStore: SimpleKVStore
Defined in
packages/core/src/storage/docStore/SimpleDocumentStore.ts:16
Methods
addDocuments
▸ addDocuments(docs
, allowUpdate?
): Promise
<void
>
Parameters
Name | Type | Default value |
---|---|---|
docs | BaseNode <Metadata >[] | undefined |
allowUpdate | boolean | true |