You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The adapter should return filter all records returned to only contain the views before `before` and after `after`. The times are passed in UTC, so a simple `record.views[x].time < filter.before` is good enough.
93
+
The adapter should return filter all records returned to only contain the views before `before` and after `after`. The times are passed in UTC, so a simple `record.views[x].time < before` is good enough.
88
94
89
95
Both, either one or none of them might be specified. It also has to work in conjunction with `pathname`. These are all valid queries, including any further combination of those:
90
96
@@ -93,10 +99,10 @@ Both, either one or none of them might be specified. It also has to work in conj
93
99
awaitadapter.get('/hello') // -> { views: 125 }
94
100
95
101
// Return record with key /hello and its number of views that happened before 1234 UTC
This would not only return the values for the record with the key `/car`, but also for `/car2`, `/car/make/toyota`, `/caramba`, etc, essentially for _any key that starts with the string `/car`_.
0 commit comments