kmongo / org.litote.kmongo.coroutine / CoroutineChangeStreamPublisher / startAtOperationTime

startAtOperationTime

fun startAtOperationTime(startAtOperationTime: BsonTimestamp): CoroutineChangeStreamPublisher<TResult> (source)

The change stream will only provide changes that occurred after the specified timestamp.

Any command run against the server will return an operation time that can be used here.

The default value is an operation time obtained from the server before the change stream was created.

Parameters

startAtOperationTime - the start at operation time

Since
1.9

Return
this

Mongodb
.server.release 4.0

Mongodb
.driver.manual reference/method/db.runCommand/