[英]Azure Logic App - GetEntities (Azure Table) connector filter returning wrong result
可能你的錯誤是CreatedDate
類型錯誤造成的,你可以參考這篇文章。
簡單地說,您將一個時間格式的字符串插入到Azure Table
格式為DateTime
的表數據中。 這在門戶中顯示為DateTime
類型,但它實際上是一個字符串。
解決方案:
1.如果要插入DateTime
類型的數據,可以指定odata.type
,請參考以下示例:
{
"Address":"Mountain View",
"Age":23,
"AmountDue":200.23,
"CustomerCode@odata.type":"Edm.Guid",
"CustomerCode":"c9da6455-213d-42c9-9a79-3e9149a57833",
"CustomerSince@odata.type":"Edm.DateTime",
"CustomerSince":"2008-07-10T00:00:00",
"IsActive":true,
"NumberOfOrders@odata.type":"Edm.Int64",
"NumberOfOrders":"255",
"PartitionKey":"mypartitionkey",
"RowKey":"myrowkey"
}
參考:
https://docs.microsoft.com/en-us/rest/api/storageservices/inserting-and-updating-entities
2.將CreatedDate
定義為String
類型,但這不是一個很好的解決方案,最好插入正確的DateTime
數據。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.