public org.springframework.data.mongodb.core.aggregation.ReplaceRootOperation.ReplaceRootDocumentOperation withDocument()
Defines a root document replacement based on a composable document that is empty initially. ReplaceRootOperation can be populated with individual entries and derive its values from other, existing
documents.
Defines a root document replacement based on a composable document given document. ReplaceRootOperation can be populated with individual entries and derive its values from other, existing
documents.