asIterable
inline fun <Document : Any> SyncMongoAggregationPipeline<Document>.asIterable(): SyncMongoAggregateIterable<Document>(source)
Access the data of this pipeline as a MongoIterable.
The methods of MongoIterable are available directly on this type as extension methods, there is no need to convert to a MongoIterable yourself.