Interface UpdateDefinition.ArrayFilter

Enclosing interface:
UpdateDefinition

public static interface UpdateDefinition.ArrayFilter
A filter to specify which elements to modify in an array field.
Since:
2.2
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bson.Document
    Get the Document representation of the filter to apply.
  • Method Details

    • asDocument

      org.bson.Document asDocument()
      Get the Document representation of the filter to apply. The returned Document is used directly with the driver without further type or field mapping.
      Returns:
      never null.