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
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -137,15 +137,15 @@ app.use(qs({
137
137
#### 3.5 Data
138
138
| Query | Description | Result |
139
139
| ------ | ------ | ------ |
140
-
|`?date_start=2018-11-10&date_end=2018-12-10`| Search where the user wants results between 2018-12-10 and 2018-12-12. |`{ filters: { $and: [ { created_at: { $lt: '2018-12-10T00:00:00.000Z' } }, { created_at: { $gte: '2018-11-10T00:00:00.000Z' } } ] } }`|
141
-
|`?date_start=2018-12-10`| Search where the user wants results between 2018-12-10 and the current date. In this example, the current day is: 2018-12-12. |`{ filters: { $and: [ { created_at: { $lt: '2018-12-13T00:00:00.000Z' } }, { created_at: { $gte: '2018-12-10T00:00:00.000Z' } } ] } }`|
142
-
|`?date_end=2018-12-11&period=10d`| Search where the user wants results from 10 days before 2018-12-12. |`{ filters: { $and: [ { created_at: { $lt: '2018-12-11T00:00:00.000Z' } }, { created_at: { $gte: '2018-11-30T00:00:00.000Z' } } ] } }`|
140
+
|`?start_at=2018-11-10&end_at=2018-12-10`| Search where the user wants results between 2018-12-10 and 2018-12-12. |`{ filters: { $and: [ { created_at: { $lt: '2018-12-10T00:00:00.000Z' } }, { created_at: { $gte: '2018-11-10T00:00:00.000Z' } } ] } }`|
141
+
|`?start_at=2018-12-10`| Search where the user wants results between 2018-12-10 and the current date. In this example, the current day is: 2018-12-12. |`{ filters: { $and: [ { created_at: { $lt: '2018-12-13T00:00:00.000Z' } }, { created_at: { $gte: '2018-12-10T00:00:00.000Z' } } ] } }`|
142
+
|`?end_at=2018-12-11&period=10d`| Search where the user wants results from 10 days before 2018-12-12. |`{ filters: { $and: [ { created_at: { $lt: '2018-12-11T00:00:00.000Z' } }, { created_at: { $gte: '2018-11-30T00:00:00.000Z' } } ] } }`|
143
143
|`?period=10d`| Search where the user wants results from 10 days before the current date. In this example, the current day is: 2018-12-12. |`{ filters: { $and: [ { created_at: { $lt: '2018-12-13T00:00:00.000Z' } }, { created_at: { $gte: '2018-12-02T00:00:00.000Z' } } ] } }`|
144
-
|`?date_end=2018-12-11&period=8w`| Search where the user wants results from 8 weeks before 2018-12-12. |`{ filters: { $and: [ { created_at: { $lt: '2018-12-11T00:00:00.000Z' } }, { created_at: { $gte: '2018-10-15T00:00:00.000Z' } } ] } }`|
144
+
|`?end_at=2018-12-11&period=8w`| Search where the user wants results from 8 weeks before 2018-12-12. |`{ filters: { $and: [ { created_at: { $lt: '2018-12-11T00:00:00.000Z' } }, { created_at: { $gte: '2018-10-15T00:00:00.000Z' } } ] } }`|
145
145
|`?period=8w`| Search where the user wants results from 8 weeks before the current date. In this example, the current day is: 2018-12-12. |`{ filters: { $and: [ { created_at: { $lt: '2018-12-13T00:00:00.000Z' } }, { created_at: { $gte: '2018-10-17T00:00:00.000Z' } } ] } }`|
146
-
|`?date_end=2018-12-11&period=6m`| Search where the user wants results from 6 months before 2018-12-11. |`{ filters: { $and: [ { created_at: { $lt: '2018-12-11T00:00:00.000Z' } }, { created_at: { $gte: '2018-06-10T03:00:00.000Z' } } ] } }`|
146
+
|`?end_at=2018-12-11&period=6m`| Search where the user wants results from 6 months before 2018-12-11. |`{ filters: { $and: [ { created_at: { $lt: '2018-12-11T00:00:00.000Z' } }, { created_at: { $gte: '2018-06-10T03:00:00.000Z' } } ] } }`|
147
147
|`?period=6m`| Search where the user wants results from 6 months before the current date. In this example, the current day is: 2018-12-12. |`{ filters: { $and: [ { created_at: { $lt: '2018-12-13T00:00:00.000Z' } }, { created_at: { $gte: '2018-06-12T03:00:00.000Z' } } ] } }`|
148
-
|`?date_end=2018-12-11&period=4y`| Search where the user wants results from 4 years before 2018-12-11. |`{ filters: { $and: [ { created_at: { $lt: '2018-12-11T00:00:00.000Z' } }, { created_at: { $gte: '2014-12-10T00:00:00.000Z' } } ] } }`|
148
+
|`?end_at=2018-12-11&period=4y`| Search where the user wants results from 4 years before 2018-12-11. |`{ filters: { $and: [ { created_at: { $lt: '2018-12-11T00:00:00.000Z' } }, { created_at: { $gte: '2014-12-10T00:00:00.000Z' } } ] } }`|
149
149
|`?period=4y`| Search where the user wants results from 4 years before the current date. In this example, the current day is: 2018-12-12. |`{ filters: { $and: [ { created_at: { $lt: '2018-12-13T00:00:00.000Z' } }, { created_at: { $gte: '2014-12-12T00:00:00.000Z' } } ] } }`|
0 commit comments