@shiftcoders/dynamo-easy
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Transact
Base
Operation
constructor
metadata
model
Clazz
params
transact
Item
only
If
only
IfAttribute
return
Values
OnCondition
Check
Failure
Transact
Condition
Check
Transact
Delete
Transact
Put
Transact
Update
Transact
Write
Request
Type parameters
T
I
:
ConditionCheck
|
Put
|
Update
|
Delete
R
:
TransactBaseOperation
<
T
,
I
,
any
>
Hierarchy
TransactBaseOperation
TransactConditionCheck
TransactDelete
TransactPut
TransactUpdate
Implements
ConditionalParamsHost
Index
Constructors
constructor
Properties
metadata
model
Clazz
params
transact
Item
Methods
only
If
only
IfAttribute
return
Values
OnCondition
Check
Failure
Constructors
Protected
constructor
new
Transact
Base
Operation
(
modelClazz
:
ModelConstructor
<
T
>
)
:
TransactBaseOperation
Parameters
modelClazz:
ModelConstructor
<
T
>
Returns
TransactBaseOperation
Properties
metadata
metadata
:
Metadata
<
T
>
model
Clazz
model
Clazz
:
ModelConstructor
<
T
>
params
params
:
I
Abstract
transact
Item
transact
Item
:
TransactWriteItem
Methods
only
If
only
If
(
conditionDefFns
:
ConditionExpressionDefinitionFunction
[]
)
:
this
Parameters
Rest
conditionDefFns:
ConditionExpressionDefinitionFunction
[]
Returns
this
only
IfAttribute
only
IfAttribute<K>
(
attributePath
:
K
)
:
RequestConditionFunctionTyped
<
this
,
T
,
K
>
only
IfAttribute
(
attributePath
:
string
)
:
RequestConditionFunction
<
this
,
T
>
Type parameters
K
:
keyof T
Parameters
attributePath:
K
Returns
RequestConditionFunctionTyped
<
this
,
T
,
K
>
Parameters
attributePath:
string
Returns
RequestConditionFunction
<
this
,
T
>
return
Values
OnCondition
Check
Failure
return
Values
OnCondition
Check
Failure
(
value
:
DynamoDB.ReturnValuesOnConditionCheckFailure
)
:
this
Parameters
value:
DynamoDB.ReturnValuesOnConditionCheckFailure
Returns
this