Eval suppresses an auto-generated binding and membership in the OpEvaluator interface.
(ctx context.Context, e OpEvaluator, a, b Datum)
| 41 | // Eval suppresses an auto-generated binding and membership in the |
| 42 | // OpEvaluator interface. |
| 43 | func (t *CompareAnyTupleOp) Eval(ctx context.Context, e OpEvaluator, a, b Datum) (Datum, error) { |
| 44 | if a == DNull || b == DNull { |
| 45 | return MakeDBool(a == DNull && b == DNull), nil |
| 46 | } |
| 47 | return e.EvalCompareTupleOp(ctx, (*CompareTupleOp)(t), a, b) |
| 48 | } |
| 49 | |
| 50 | // MatchLikeOp is a BinaryEvalOp. |
| 51 | type MatchLikeOp struct { |
nothing calls this directly
no test coverage detected