簡體   English   中英

如何獲取應用 azure 表存儲查詢的不同值?

[英]How to get distinct values applying an azure table storage query?

我想獲取某個 PartitionKey“emailAddress”的“ReceiverEmail”值。 我只想檢索 ReceiverEmail 的不同值。 我在 azure 存儲表上應用此 python 查詢,如下所示:

entit = table_service.query_entities('UserRequests','PartitionKey eq \'' + emailAddress + '\'',select= 'ReceiverEmail')

關於如何獲得不同值的任何幫助?

似乎不可能直接查詢不同的值。 本官方文檔說明了不支持的操作:

https://docs.microsoft.com/en-us/rest/api/storageservices/query-operators-supported-for-the-table-service#unsupported-query-operators

在此處輸入圖片說明

如果你想要這個功能,可以到feedback website發表你的建議,Azure 開發團隊可能會采納你的建議:

https://feedback.azure.com/forums/34192--general-feedback

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM