Class DeleteOptions


  • public class DeleteOptions
    extends 
    The options to apply when deleting documents.
    Since:
    3.4
    MongoDB documentation
    • Constructor Detail

      • DeleteOptions

        public DeleteOptions()
    • Method Detail

      • getCollation

        @Nullable
        public Collation getCollation()
        Returns the collation options
        Returns:
        the collation options
        Since server release
      • collation

        public DeleteOptions collation​(@Nullable
                                       Collation collation)
        Sets the collation options

        A null value represents the server default.

        Parameters:
        collation - the collation options to use
        Returns:
        this
        Since server release
      • toString

        public  toString()
        Overrides:
         in class