include

fun include(vararg properties: KProperty<*>): Bson

Creates a projection that includes all given properties.

Return

the projection

Parameters

properties

the field names


fun include(properties: Iterable<KProperty<*>>): Bson

Creates a projection that includes all of the given properties.

Return

the projection

Parameters

properties

the field names