I have a problem with building filter on a timestamp field.
I have defined filter in my MarketDataResource(resources.MongoEngineResource)
filtering = { "instrument" : ALL, "timestamp" : ["gte", "lte", "range"], }
and when I do query on timestamp field I receive error
'exact' is not an allowed filter on the 'timestamp' field.
Hi,
I have a problem with building filter on a timestamp field.
I have defined filter in my MarketDataResource(resources.MongoEngineResource)
filtering = { "instrument" : ALL, "timestamp" : ["gte", "lte", "range"], }
and when I do query on timestamp field I receive error
Here is my query
But query works when I query only gte or only lte.
Could you help me to understand what is wrong with my query?
Thanks.