withGroups

fun withGroups(group: Selectable, vararg additionalGroups: Any): AggregateStage(source)
fun withGroups(groupField: String, vararg additionalGroups: Any): AggregateStage(source)