projection

abstract fun projection(projection: Bson?): FindFlow<TResult>

Sets a document describing the fields to return for all matching documents.

Return

this

Parameters

projection

the project document, which may be null.