ExprIdent creates an ident (variable) Expr.
(id int64, name string)
| 254 | |
| 255 | // ExprIdent creates an ident (variable) Expr. |
| 256 | func ExprIdent(id int64, name string) *exprpb.Expr { |
| 257 | return &exprpb.Expr{Id: id, ExprKind: &exprpb.Expr_IdentExpr{ |
| 258 | IdentExpr: &exprpb.Expr_Ident{Name: name}}} |
| 259 | } |
| 260 | |
| 261 | // ExprSelect creates a select Expr. |
| 262 | func ExprSelect(id int64, operand *exprpb.Expr, field string) *exprpb.Expr { |