Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DynamoDBOperationConfig and QueryOperationConfig

what is the difference between amazon dynamodb QueryOperationConfig and DynamoDBOperationConfig? and when developer need to use them?

like image 301
sigma Avatar asked Aug 07 '26 11:08

sigma


1 Answers

A DynamoDBOperationConfig is part of the object persistence model API: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DotNetSDKHighLevel.html

A QueryOperationConfig is part of the document model API: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DotNetSDKMidLevel.html

They both can perform all of the DynamoDB API calls, they are just different APIs for interacting with the service. The object persistence model is great for saving/loading objects of the same type. The document model allows you to serialize native .NET JSON types to DynamoDB types seamlessly.

like image 164
Ben Schwartz Avatar answered Aug 10 '26 01:08

Ben Schwartz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!