diff --git a/lib/updateExpressionBuilder.ts b/lib/updateExpressionBuilder.ts index 1be7f3c4..30c6d953 100644 --- a/lib/updateExpressionBuilder.ts +++ b/lib/updateExpressionBuilder.ts @@ -26,7 +26,7 @@ const internalNameBuilder = (item: any): any => { const internalValueBuilder = (item: any): any => { const itemKeys = Object.keys(item); - // itemKeys.reduce((accumulator, k, index) => ({ ...accumulator, [`:value${index}`]: item[k] }), {}) + return itemKeys.reduce( (accumulator, k, index) => ({ ...accumulator, [`:value_${index}`]: item[k] }), {},