Class: BaseDocumentStore
Constructors
constructor
• new BaseDocumentStore()
Methods
addDocuments
▸ Abstract
addDocuments(docs
, allowUpdate
): Promise
<void
>
Parameters
Name | Type |
---|---|
docs | BaseNode <Metadata >[] |
allowUpdate | boolean |
Returns
Promise
<void
>
Defined in
packages/core/src/storage/docStore/types.ts:27
deleteDocument
▸ Abstract
deleteDocument(docId
, raiseError
): Promise
<void
>
Parameters
Name | Type |
---|---|
docId | string |
raiseError | boolean |
Returns
Promise
<void
>
Defined in
packages/core/src/storage/docStore/types.ts:34
deleteRefDoc
▸ Abstract
deleteRefDoc(refDocId
, raiseError
): Promise
<void
>
Parameters
Name | Type |
---|---|
refDocId | string |
raiseError | boolean |