UpsertEntryAsync(string, Dictionary<string, AttributeValue>, Dictionary<string, AttributeValue>, string, Dictionary<string, AttributeValue>, string, Dictionary<string, AttributeValue>)
public Task UpsertEntryAsync(string tableName, Dictionary<string, AttributeValue> keys, Dictionary<string, AttributeValue> fields, string conditionExpression = "", Dictionary<string, AttributeValue>? conditionValues = null, string extraExpression = "", Dictionary<string, AttributeValue>? extraExpressionValues = null) Create or update an entry in a DynamoDB Table
Parameters
tableNamestring- The name of the table to upsert an entry
keysDictionary<string, AttributeValue>- The table entry keys for the entry
fieldsDictionary<string, AttributeValue>- The fields/attributes to add or updated in the table
conditionExpressionstring- Optional conditional expression
conditionValuesDictionary<string, AttributeValue>- Optional field/attribute values used in the conditional expression
extraExpressionstring- Additional expression that will be added in the end of the upsert expression
extraExpressionValuesDictionary<string, AttributeValue>- Additional field/attribute that will be used in the extraExpression
