编辑Easytable Azure的数据

时间:2017-02-27 06:47:19

标签: azure azure-table-storage

无论如何修改Easytable Azure中的数据?

enter image description here

例如,我想将第一行的文本更改为“testing 23/2”。怎么做?此外,我想将删除的从true更改为false。知道怎么做吗?

1 个答案:

答案 0 :(得分:3)

据我所知,如果你想使用easy table,你必须连接到数据库。 因此,如果您想更改easy表中的数据,可以在azure sql数据库中找到该表并进行修改。

您可以在数据连接标记中找到您的数据库。 enter image description here 此外,我建议您可以安装MMSE并使用它连接到您的azure sql数据库,然后您可以使用MMSE对其进行修改。

更多细节,您可以参考以下链接和查询:

链接: https://docs.microsoft.com/en-us/azure/sql-database/sql-database-connect-query-ssms

步骤:

1.连接到azure sql数据库 enter image description here

2.选择表格并进行编辑 enter image description here

此外,我建议您也可以使用Restful API的send patch方法来更新行数据。

更新

这是执行图像: enter image description here

结果:

enter image description here

此外,正如我所说,您可以使用zumo-api向easy表发送请求以更改表的结果。

首先,我建议您查看easy table的许可。

您需要设置更新是允许匿名访问。

enter image description here

然后您可以使用fiddler发送请求。

Method:PATCH

URL: http://YOURSSITENAMEHERE.azurewebsites.net/Tables/text/YOURROW’SID

Head:

Accept: application/json 

Content-Type: application/json 

Content-Length: 32

ZUMO-API-VERSION: 2.0.0 

Host: YOURSSITENAMEHERE.azurewebsites.net


Content:

{"text":"bbbl","complete":false}

Yours maybe {"TEXT":"bbbl","COMPLETE":false}

如下图所示:

enter image description here

结果:

enter image description here