aws dynamodb update 问题
資深大佬 : fangwenxue 1
table.update_item( Key=_filter, UpdateExpression='set type = :g', ExpressionAttributeValues={ ':g': '111' } )
botocore.exceptions.ClientError: An error occurred (ValidationException) when calling the UpdateItem operation: Invalid UpdateExpression: Attribute name is a reserved keyword; reserved keyword: type
- type 是保留关键词
- 也没有象 mysql 加“的语法
大佬有話說 (2)