Differences from Dynamo
Last updated
Was this helpful?
Last updated
Was this helpful?
Most Tynamo API
and Dynamo API
are similar, including input formats and output formats. However, to reduce the unnecessary work of Dynamo, Tynamo has several differences:
It is not necessary to explicitly name the table.
Because use the table information stored in @DynamoEntity
.
Therefore, the following parameters are deleted and not used.
TableName
Legacy conditional parameters in the Dynamo API are no longer used. Only expressions are allowed.
See:
All param of AttributeMap
changed to @DynamoEntity
type.
The list is as follow.
Item
Key
ExpressionAttributeValues
...
Automatically inserts the name of the class member or expression value used in the expression
.
Check for more information.
Among the Dynamo APIs, input and output of putItem
methods are as follows.
By the design principle of Tynamo, it is changed as follows:
Most of the TynamoAPIs are designed as above.