@shiftcoders/dynamo-easy
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Transact
Base
Operation
Transact
Condition
Check
Transact
Delete
Transact
Put
constructor
metadata
model
Clazz
params
transact
Item
if
Not
Exists
only
If
only
IfAttribute
return
Values
OnCondition
Check
Failure
Transact
Update
Transact
Write
Request
Type parameters
T
Hierarchy
TransactBaseOperation
<
T
,
Put
,
TransactPut
<
T
>
>
TransactPut
Implements
ConditionalParamsHost
Index
Constructors
constructor
Properties
metadata
model
Clazz
params
Accessors
transact
Item
Methods
if
Not
Exists
only
If
only
IfAttribute
return
Values
OnCondition
Check
Failure
Constructors
constructor
new
Transact
Put
(
modelClazz
:
ModelConstructor
<
T
>
, item
:
T
)
:
TransactPut
Parameters
modelClazz:
ModelConstructor
<
T
>
item:
T
Returns
TransactPut
Properties
metadata
metadata
:
Metadata
<
T
>
model
Clazz
model
Clazz
:
ModelConstructor
<
T
>
params
params
:
Put
Accessors
transact
Item
transact
Item
:
Methods
if
Not
Exists
if
Not
Exists
(
predicate
?:
boolean
)
:
this
Parameters
Default value
predicate:
boolean
= true
Returns
this
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