public static interface ConditionalOperators.IfNull.ThenBuilder
ConditionalOperators.IfNull then(Object value)
value- the value to be used if the
$ifNullcondition evaluates true. Can be a
Document, a value that is supported by MongoDB or a value that can be converted to a MongoDB representation but must not be null.
ConditionalOperators.IfNull thenValueOf(String fieldReference)
fieldReference- the field holding the replacement value, must not be null.
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.