public static PredicateExpression nin ( Object ... rhs ) { PredicateExpression ex = new PredicateExpression ( "$nin" , rhs ) ; if ( rhs . length == 1 ) { ex . single = true ; } return ex ; }
The document field must not exist in the list provided