@shiftcoders/dynamo-easy
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Transact
Base
Operation
Transact
Condition
Check
Transact
Delete
Transact
Put
Transact
Update
constructor
metadata
model
Clazz
params
transact
Item
only
If
only
IfAttribute
operations
return
Values
OnCondition
Check
Failure
update
Attribute
Transact
Write
Request
Type parameters
T
Hierarchy
TransactBaseOperation
<
T
,
Update
,
TransactUpdate
<
T
>
>
TransactUpdate
Implements
ConditionalParamsHost
Index
Constructors
constructor
Properties
metadata
model
Clazz
params
Accessors
transact
Item
Methods
only
If
only
IfAttribute
operations
return
Values
OnCondition
Check
Failure
update
Attribute
Constructors
constructor
new
Transact
Update
(
modelClazz
:
ModelConstructor
<
T
>
, partitionKey
:
any
, sortKey
:
any
)
:
TransactUpdate
Parameters
modelClazz:
ModelConstructor
<
T
>
partitionKey:
any
Optional
sortKey:
any
Returns
TransactUpdate
Properties
metadata
metadata
:
Metadata
<
T
>
model
Clazz
model
Clazz
:
ModelConstructor
<
T
>
params
params
:
Update
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
>
operations
operations
(
updateDefFns
:
UpdateExpressionDefinitionFunction
[]
)
:
this
Parameters
Rest
updateDefFns:
UpdateExpressionDefinitionFunction
[]
Returns
this
return
Values
OnCondition
Check
Failure
return
Values
OnCondition
Check
Failure
(
value
:
DynamoDB.ReturnValuesOnConditionCheckFailure
)
:
this
Parameters
value:
DynamoDB.ReturnValuesOnConditionCheckFailure
Returns
this
update
Attribute
update
Attribute<K>
(
attributePath
:
K
)
:
RequestUpdateFunction
<
this
,
T
,
K
>
Type parameters
K
:
keyof T
Parameters
attributePath:
K
Returns
RequestUpdateFunction
<
this
,
T
,
K
>