Skip to content

Commit 92d5a03

Browse files
committed
edits
1 parent 497cc4e commit 92d5a03

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

source/databases-collections/time-series.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. _php-time-series:
22

3-
================
4-
Time Series Data
5-
================
3+
=======================
4+
Time Series Collections
5+
=======================
66

77
.. default-domain:: mongodb
88

@@ -60,11 +60,11 @@ Create a Time Series Collection
6060
You can create a time series collection to store time series data.
6161
To create a time series collection, pass an options array to the
6262
``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:
6464

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
6868
values are ``'seconds'``, ``'minutes'``, and ``'hours'``.
6969

7070
.. _php-time-series-create-example:
@@ -135,7 +135,7 @@ print the results:
135135

136136
MongoDB stores system data associated with time series collections
137137
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>`
139139
in the {+mdb-server+} manual.
140140

141141
.. _php-time-series-insert:

source/tutorial/crud.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,6 @@ following example finds restaurants whose name starts with "(Library)":
414414
'name' => new MongoDB\BSON\Regex('^' . preg_quote('(Library)')),
415415
]);
416416

417-
.. _php-aggregation:
418-
419417
Complex Queries with Aggregation
420418
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
421419

0 commit comments

Comments
 (0)