2017-07-04 31 views
0

我可以使用代码表中添加以下如何从azure函数编辑azure存储表?

context.bindings.sampleTable = { 
"partitionKey": "11111111", 
"rowKey": "222", 
"deviceId": 1111, 
"messageId": 2222, 
"temperature": 3333, 
"humidity": 4444 
}; 

context.done(); 

新行现在我要修改这个新添加的行,所以我尝试相同的代码相同partitionkeyrowkey但它提供了如下错误

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. 

所以请纠正我。

回答