var offset: Int
fun offset(offset: Int): DittoWriteTransactionPendingCursorOperation
Offset the resulting set of matching documents. This is useful if you aren't interested in the first
N matching documents for one reason or another. For example, you might already have queried the
collection and obtained the first 20 matching documents and so you might want to run the same query as
you did previously but ignore the first 20 matching documents, and that is where you would use
offset
.
offset
- the number of matching documents that you want the eventual resulting set of matching documents to be offset by (and thus not include).
Return
a DittoWriteTransactionPendingCursorOperation that you can chain further function calls and then either get the matching documents immediately or get updates about them over time.