Skip to content

idatastore

ralphhanna edited this page Dec 18, 2023 · 3 revisions

bpmn-server / IDataStore

Interface: IDataStore

Implemented by

Table of contents

Properties

Methods

Properties

db

db: any

Defined in

interfaces/datastore.ts:8


dbConfiguration

dbConfiguration: any

Defined in

interfaces/datastore.ts:7


locker

locker: any

Defined in

interfaces/datastore.ts:10


logger

logger: any

Defined in

interfaces/datastore.ts:9

Methods

deleteInstances

deleteInstances(query?): Promise<void>

Parameters

Name Type
query? any

Returns

Promise<void>

Defined in

interfaces/datastore.ts:20


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 "full" | "summary"

Returns

Promise<IInstanceData[]>

Defined in

interfaces/datastore.ts:18


findItem

findItem(query): Promise<IItemData>

Parameters

Name Type
query any

Returns

Promise<IItemData>

Defined in

interfaces/datastore.ts:16


findItems

findItems(query): Promise<IItemData[]>

Parameters

Name Type
query any

Returns

Promise<IItemData[]>

Defined in

interfaces/datastore.ts:19


install

install(): any

Returns

any

Defined in

interfaces/datastore.ts:21


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


save

save(instance, options): Promise<void>

Parameters

Name Type
instance any
options any

Returns

Promise<void>

Defined in

interfaces/datastore.ts:11

Clone this wiki locally