Evaluate this expression against a document. Column references look up fields in the document. Missing fields return `Null`. Arithmetic on non-numeric values returns `Null`. `OldColumn(..)` resolves to `Null` (use `eval_with_old` for the TRANSITION CHECK path).
(&self, doc: &Value)
| 57 | /// `OldColumn(..)` resolves to `Null` (use `eval_with_old` for the |
| 58 | /// TRANSITION CHECK path). |
| 59 | pub fn eval(&self, doc: &Value) -> Value { |
| 60 | self.eval_scope(&RowScope { |
| 61 | new_doc: doc, |
| 62 | old_doc: None, |
| 63 | excluded_doc: None, |
| 64 | }) |
| 65 | } |
| 66 | |
| 67 | /// Evaluate with access to both NEW and OLD documents, used by |
| 68 | /// TRANSITION CHECK predicates. `Column(name)` resolves against |