of

fun <R, T> of(accessor: SerializableLambdas.SerializableFunction1<R, T>): JavaField<R, T>(source)

Type-safely refers to a MongoDB field based on its Java DTO.

For more information, and for examples, see JavaField.