CLOVIS
02/03/2025, 8:00 AM$expr
operator to compare fields in a document.
This operator is particularly useful to find incoherent data, for examples entities that were modified before their creation:
collection.find {
expr {
of(Entity::modificationDate) lt of(Entity::creationDate)
}
}
For now, the supported operators are:
• $eq
, $ne
• $gt
, $gte
, $lt
, $lte
• $literal
https://opensavvy.gitlab.io/ktmongo/docs/