I am really stuck in my query filter on Azure table storage.
May I know how to query with timestamp please?
When I query for partition key to 1005 alone, I am getting the complete table which I don't want.
When I added "and" condition with timestamp (tried with lots of formats but it is not returning anything. Code snippet below :
var lowerlimit = DateTime.Today.AddDays(-52).ToString("yyyy-MM-dd");
string dateRangeFilter = TableQuery.CombineFilters(
TableQuery.GenerateFilterCondition("PartitionKey", QueryComparisons.Equal, "1005"),
TableOperators.And,
TableQuery.GenerateFilterCondition("TimeStamp", QueryComparisons.GreaterThanOrEqual, lowerlimit));
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…