Skip to content

bpmn-server / IDataStore

Interface: IDataStore#

Implemented by#

Table of contents#

Properties#

Methods#

Properties#

dbConfiguration#

dbConfiguration: any

Defined in#

interfaces/datastore.ts:7


db#

db: any

Defined in#

interfaces/datastore.ts:8


logger#

logger: any

Defined in#

interfaces/datastore.ts:9


locker#

locker: any

Defined in#

interfaces/datastore.ts:10

Methods#

save#

save(instance, options): Promise\<void>

Parameters#

Name Type
instance any
options any

Returns#

Promise\<void>

Defined in#

interfaces/datastore.ts:11


loadInstance#

loadInstance(instanceId, options): Promise\<{ instance: any ; items: any[] }>

Parameters#

Name Type
instanceId any
options any

Returns#

Promise\<{ instance: any ; items: any[] }>

Defined in#

interfaces/datastore.ts:12


findItem#

findItem(query): Promise\<IItemData>

Parameters#

Name Type
query any

Returns#

Promise\<IItemData>

Defined in#

interfaces/datastore.ts:16


findInstance#

findInstance(query, options): Promise\<IInstanceData>

Parameters#

Name Type
query any
options any

Returns#

Promise\<IInstanceData>

Defined in#

interfaces/datastore.ts:17


findInstances#

findInstances(query, option): Promise\<IInstanceData[]>

Parameters#

Name Type
query any
option any

Returns#

Promise\<IInstanceData[]>

Defined in#

interfaces/datastore.ts:18


findItems#

findItems(query): Promise\<IItemData[]>

Parameters#

Name Type
query any

Returns#

Promise\<IItemData[]>

Defined in#

interfaces/datastore.ts:19


deleteInstances#

deleteInstances(query?): Promise\<void>

Parameters#

Name Type
query? any

Returns#

Promise\<void>

Defined in#

interfaces/datastore.ts:20


install#

install(): any

Returns#

any

Defined in#

interfaces/datastore.ts:21


archive#

archive(query): any

Parameters#

Name Type
query any

Returns#

any

Defined in#

interfaces/datastore.ts:22