kmongo / org.litote.kmongo.coroutine / CoroutineFindPublisher / limit

limit

fun limit(limit: Int): CoroutineFindPublisher<T> (source)

Sets the limit to apply.

Parameters

limit - the limit

Return
this

Mongodb
.driver.manual reference/method/cursor.limit/#cursor.limit Limit