Contents
bpmn-server / IDataStore
Interface: IDataStore
Implemented by
Table of contents
Properties
Methods
Properties
dbConfiguration
• dbConfiguration: any
Defined in
db
• db: any
Defined in
logger
• logger: any
Defined in
locker
• locker: any
Defined in
Methods
save
▸ save(instance
, options
): Promise
<void
>
Parameters
Name | Type |
---|---|
instance |
any |
options |
any |
Returns
Promise
<void
>
Defined in
loadInstance
▸ loadInstance(instanceId
, options
): Promise
<{ instance
: any
; items
: any
[] }>
Parameters
Name | Type |
---|---|
instanceId |
any |
options |
any |
Returns
Promise
<{ instance
: any
; items
: any
[] }>
Defined in
findItem
▸ findItem(query
): Promise
<IItemData
>
Parameters
Name | Type |
---|---|
query |
any |
Returns
Promise
<IItemData
>
Defined in
findInstance
▸ findInstance(query
, options
): Promise
<IInstanceData
>
Parameters
Name | Type |
---|---|
query |
any |
options |
any |
Returns
Promise
<IInstanceData
>
Defined in
findInstances
▸ findInstances(query
, option
): Promise
<IInstanceData
[]>
Parameters
Name | Type |
---|---|
query |
any |
option |
"summary" | "full" |
Returns
Promise
<IInstanceData
[]>
Defined in
findItems
▸ findItems(query
): Promise
<IItemData
[]>
Parameters
Name | Type |
---|---|
query |
any |
Returns
Promise
<IItemData
[]>
Defined in
deleteInstances
▸ deleteInstances(query?
): Promise
<void
>
Parameters
Name | Type |
---|---|
query? |
any |
Returns
Promise
<void
>
Defined in
install
▸ install(): any
Returns
any