Class: abstract
BaseDocumentStore
Constructors
new BaseDocumentStore()
new BaseDocumentStore():
BaseDocumentStore
Returns
Methods
addDocuments()
abstract
addDocuments(docs
,allowUpdate
):Promise
<void
>
Parameters
• allowUpdate: boolean
Returns
Promise
<void
>
Source
packages/core/src/storage/docStore/types.ts:23
deleteDocument()
abstract
deleteDocument(docId
,raiseError
):Promise
<void
>
Parameters
• docId: string
• raiseError: boolean
Returns
Promise
<void
>
Source
packages/core/src/storage/docStore/types.ts:30
deleteRefDoc()
abstract
deleteRefDoc(refDocId
,raiseError
):Promise
<void
>
Parameters
• refDocId: string
• raiseError: boolean
Returns
Promise
<void
>
Source
packages/core/src/storage/docStore/types.ts:46
docs()
abstract
docs():Promise
<Record
<string
,BaseNode
<Metadata
>>>
Returns
Promise
<Record
<string
, BaseNode
<Metadata
>>>
Source
packages/core/src/storage/docStore/types.ts:21
documentExists()
abstract
documentExists(docId
):Promise
<boolean
>
Parameters
• docId: string
Returns
Promise
<boolean
>
Source
packages/core/src/storage/docStore/types.ts:32