-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
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
'exact' is not an allowed filter on the 'timestamp' field.
Here is my query
api/v1/marketdata/?format=json&instrument=Z74×tamp__gte=2016-03-18T00:00:00.000+0000×tamp__lse=2016-03-18T01:00:01.016+0000
But query works when I query only gte or only lte.
Could you help me to understand what is wrong with my query?
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels