addFields

fun addFields(field: Selectable, vararg additionalFields: Selectable): Pipeline(source)

Adds field and additionalFields to the documents.