Skip to content

Commit 96cd025

Browse files
committed
AS feedback
1 parent 77526ce commit 96cd025

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

source/data-formats/time-series.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ To create a time series collection, pass the following parameters to the
6363
- The name of the new collection to create
6464

6565
- A `CreateCollectionOptions <{+core-api+}/com/mongodb/client/model/CreateCollectionOptions.html>`__
66-
object containing the `TimeSeriesOptions <{+core-api+}/com/mongodb/client/model/TimeSeriesOptions.html>`__ object
67-
for creating your collection
66+
object with the `TimeSeriesOptions <{+core-api+}/com/mongodb/client/model/TimeSeriesOptions.html>`__ set
67+
using the ``timeSeriesOptions()`` method
6868

6969
.. _kotlin-sync-time-series-create-example:
7070

@@ -158,7 +158,7 @@ Additional Information
158158
----------------------
159159

160160
To learn more about the concepts mentioned in this guide, see the
161-
following Server manual entries:
161+
following {+mdb-server+} entries:
162162

163163
- :manual:`Time Series </core/timeseries-collections/>`
164164
- :manual:`Create and Query a Time Series Collection </core/timeseries/timeseries-procedures/>`

source/includes/data-formats/time-series.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ fun main() {
2020
// start-create-time-series
2121
val database = mongoClient.getDatabase("fall_weather")
2222

23-
val timeSeriesOptions = TimeSeriesOptions("timestamp")
24-
val collectionOptions = CreateCollectionOptions().timeSeriesOptions(timeSeriesOptions)
23+
val tsOptions = TimeSeriesOptions("timestamp")
24+
val collectionOptions = CreateCollectionOptions().timeSeriesOptions(tsOptions)
2525

2626
database.createCollection("october2024", collectionOptions)
2727
// end-create-time-series

0 commit comments

Comments
 (0)