PresenceTest creates a Select TestOnly Expr value for modelling has() semantics.
(operand *exprpb.Expr, field string)
| 509 | |
| 510 | // PresenceTest creates a Select TestOnly Expr value for modelling has() semantics. |
| 511 | func (ah *adaptingHelper) PresenceTest(operand *exprpb.Expr, field string) *exprpb.Expr { |
| 512 | op := mustAdaptToExpr(operand) |
| 513 | return mustAdaptToProto(ah.modernHelper.NewPresenceTest(op, field)) |
| 514 | } |
| 515 | |
| 516 | // Select create a field traversal Expr value. |
| 517 | func (ah *adaptingHelper) Select(operand *exprpb.Expr, field string) *exprpb.Expr { |
nothing calls this directly
no test coverage detected