limit

fun limit(limit: Int): Pipeline(source)

Keeps the first limit documents.