Eval evaluates an SQL expression. Expression evaluation is a mostly straightforward walk over the parse tree. The only significant complexity is the handling of types and implicit conversions. See binOps and cmpOps for more details. Note that expression evaluation returns an error if certain node ty
(*EvalContext)
| 61 | // appropriate WalkExpr. For example, Placeholder should be replace |
| 62 | // by the argument passed from the client. |
| 63 | Eval(*EvalContext) (Datum, error) |
| 64 | // ResolvedType provides the type of the TypedExpr, which is the type of Datum |
| 65 | // that the TypedExpr will return when evaluated. |
| 66 | ResolvedType() *types.T |
no outgoing calls
no test coverage detected