|
1 | 1 | .. _php-time-series:
|
2 | 2 |
|
3 |
| -================ |
4 |
| -Time Series Data |
5 |
| -================ |
| 3 | +======================= |
| 4 | +Time Series Collections |
| 5 | +======================= |
6 | 6 |
|
7 | 7 | .. default-domain:: mongodb
|
8 | 8 |
|
@@ -60,11 +60,11 @@ Create a Time Series Collection
|
60 | 60 | You can create a time series collection to store time series data.
|
61 | 61 | To create a time series collection, pass an options array to the
|
62 | 62 | ``MongoDB\Database::createCollection()`` method that sets the
|
63 |
| -``timeseries`` option. When setting this option, specify the following fields: |
| 63 | +``timeseries`` option. When setting this option, include the following fields: |
64 | 64 |
|
65 |
| -- ``timeField``: The field that stores a timestamp in each time series document. |
66 |
| -- ``metaField``: The field that stores metadata in each time series document. |
67 |
| -- ``granularity``: The approximate time between consecutive timestamps. The possible |
| 65 | +- ``timeField``: Specifies the field that stores a timestamp in each time series document. |
| 66 | +- ``metaField``: Specifies the field that stores metadata in each time series document. |
| 67 | +- ``granularity``: Specifies the approximate time between consecutive timestamps. The possible |
68 | 68 | values are ``'seconds'``, ``'minutes'``, and ``'hours'``.
|
69 | 69 |
|
70 | 70 | .. _php-time-series-create-example:
|
@@ -135,7 +135,7 @@ print the results:
|
135 | 135 |
|
136 | 136 | MongoDB stores system data associated with time series collections
|
137 | 137 | in the ``<database>.system.buckets`` namespace. For more information,
|
138 |
| - see :manual:`<database>.system.buckets </reference/system-collections/#mongodb-data--database-.system.buckets>` |
| 138 | + see :manual:`database.system.buckets </reference/system-collections/#mongodb-data--database-.system.buckets>` |
139 | 139 | in the {+mdb-server+} manual.
|
140 | 140 |
|
141 | 141 | .. _php-time-series-insert:
|
|
0 commit comments