projection

fun projection(projection: Bson?): FindFlow<T>

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

Return

this

Parameters

projection

the project document.