source

fun source(vararg includes: FieldOperations<*>): T

Adds includes field lists to the document source fields filtering.

Note:

If you want to replace source fields call source with null argument.

See also


fun source(includes: List<FieldOperations<*>> = emptyList(), excludes: List<FieldOperations<*>> = emptyList()): T

Adds includes and excludes field lists to the document source fields filtering.

Note:

If you want to replace source fields call source with null argument.

See also


fun source(enable: Boolean): T

Disables or enables document's source filtering.

See also


Clears source filtering values that were previously set.

See also