@shiftcoders/dynamo-easy
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Transact
Base
Operation
Transact
Condition
Check
constructor
metadata
model
Clazz
params
transact
Item
only
If
only
IfAttribute
return
Values
OnCondition
Check
Failure
Transact
Delete
Transact
Put
Transact
Update
Transact
Write
Request
Type parameters
T
Hierarchy
TransactBaseOperation
<
T
,
ConditionCheck
,
TransactConditionCheck
<
T
>
>
TransactConditionCheck
Implements
ConditionalParamsHost
Index
Constructors
constructor
Properties
metadata
model
Clazz
params
Accessors
transact
Item
Methods
only
If
only
IfAttribute
return
Values
OnCondition
Check
Failure
Constructors
constructor
new
Transact
Condition
Check
(
modelClazz
:
ModelConstructor
<
T
>
, partitionKey
:
any
, sortKey
:
any
)
:
TransactConditionCheck
Parameters
modelClazz:
ModelConstructor
<
T
>
partitionKey:
any
Optional
sortKey:
any
Returns
TransactConditionCheck
Properties
metadata
metadata
:
Metadata
<
T
>
model
Clazz
model
Clazz
:
ModelConstructor
<
T
>
params
params
:
ConditionCheck
Accessors
transact
Item
transact
Item
:
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