【发布时间】:2017-07-04 06:19:44
【问题描述】:
我可以使用下面的代码在表格中添加新行
context.bindings.sampleTable = {
"partitionKey": "11111111",
"rowKey": "222",
"deviceId": 1111,
"messageId": 2222,
"temperature": 3333,
"humidity": 4444
};
context.done();
现在我想编辑这个新添加的行,所以我尝试使用相同的 partitionkey 和 rowkey 相同的代码,但它给出了如下错误
Exception while executing function: Functions.CCCJSFunc. Microsoft.Azure.WebJobs.Host: Error while handling parameter _binder after function returned:. Microsoft.WindowsAzure.Storage: The specified entity already exists.
所以请纠正我。
【问题讨论】:
标签: azure azure-functions azure-table-storage