ne

Compares two aggregation values and returns true if they are not equivalent.

Example

class Product(
val name: String,
val creationDate: Instant,
val releaseDate: Instant,
)

val notReleasedOnCreation = collection.aggregate()
.match {
expr {
of(Product::creationDate) eq of(Product::releaseDate)
}
}
.toList()

External resources

See also

Negation of this operator.

Equivalent operator in regular queries.