skip

open fun skip(skip: Int)(source)

The number of documents to skip before processing the request.

Example

class User(
val name: String,
val age: Int,
)

collection.find(
options = { skip(5) }
) {
User::age eq 10
}

open fun skip(skip: Long)(source)

The number of documents to skip before processing the request.

Example

class User(
val name: String,
val age: Int,
)

collection.find(
options = { skip(5) }
) {
User::age eq 10
}

Note that not all drivers support specifying a skip larger than an Int.