使用RESTAPI查询Azure表存储
我正在尝试使用RESTAPI从azure数据表检索数据使用RESTAPI查询Azure表存储,azure,azure-table-storage,azure-tablequery,Azure,Azure Table Storage,Azure Tablequery,我正在尝试使用RESTAPI从azure数据表检索数据 https://<service-url>/Customers(PartitionKey='MyPartition') https:///Customers(PartitionKey='MyPartition') Api错误与无效数据一起消失 如果我同时添加RowKey和PartitionKey之类的东西。它起作用了 https://<service-url>/Customers(PartitionKey='My
https://<service-url>/Customers(PartitionKey='MyPartition')
https:///Customers(PartitionKey='MyPartition')
Api错误与无效数据一起消失
如果我同时添加RowKey和PartitionKey之类的东西。它起作用了
https://<service-url>/Customers(PartitionKey='MyPartition',RowKey='MyRowKey1')
https:///Customers(PartitionKey='MyPartition',RowKey='MyRowKey1')
是否需要传递RowKey
如果我只想从一个分区中检索所有数据呢。
我知道,我们可以在查询参数中添加$filter,但这不会导致性能问题吗
请分享你的想法
谢谢 是,使用此格式时,需要同时指定
PartitionKey
和RowKey
https:///Customers(xxx)
当在查询中使用$filter
时,根据我的测试(大约100条记录),在时间消耗上没有更多差异。我还尝试通过指定PartitionKey
来使用SDK
进行查询,我可以看到它在后端自动使用$filter
(通过使用该工具)