Class PopOperator


  • public class PopOperator
    extends UpdateOperator
    Defines the $pop update operator.
    Since:
    2.0
    • Constructor Detail

      • PopOperator

        @MorphiaInternal
        public PopOperator​(String field)
        Parameters:
        field - the field
        Developer note.
        This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
    • Method Detail

      • removeFirst

        public PopOperator removeFirst()
        Remove the first element rather than the last.
        Returns:
        this