out

fun out(collection: MongoCollection<*>): Bson
fun out(collection: MongoCollection<*>): Bson

Creates a $out pipeline stage that writes into the specified collection

Return

the $out pipeline stage @mongodb.driver.manual reference/operator/aggregation/out/ $out

Parameters

collection

the collection