Search code examples
amazon-web-services.net-coredynamodb-queriesamazon-dynamodb

How to pass an empty string as value of a field in dynamodb dotnet using IAmazonDynamoDB?


I want to save empty string values to the database & it does not work.

{ 
  ...  
  "some_field": ""  
   ...
}

I'm using IAmazonDynamoDB & UpdateItemAsync method. How can I perform that?


Solution

  • I have found the by my self solution - configuration field IsEmptyStringValueEnabled = true in DynamoDBContextConfig class.