ExprSelect creates a select Expr.
(id int64, operand *exprpb.Expr, field string)
| 260 | |
| 261 | // ExprSelect creates a select Expr. |
| 262 | func ExprSelect(id int64, operand *exprpb.Expr, field string) *exprpb.Expr { |
| 263 | return &exprpb.Expr{Id: id, |
| 264 | ExprKind: &exprpb.Expr_SelectExpr{ |
| 265 | SelectExpr: &exprpb.Expr_Select{ |
| 266 | Operand: operand, |
| 267 | Field: field, |
| 268 | TestOnly: false}}} |
| 269 | } |
| 270 | |
| 271 | // ExprLiteral creates a literal (constant) Expr. |
| 272 | func ExprLiteral(id int64, value any) *exprpb.Expr { |