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