CmpOp is a comparison operator.
| 1720 | |
| 1721 | // CmpOp is a comparison operator. |
| 1722 | type CmpOp struct { |
| 1723 | LeftType *types.T |
| 1724 | RightType *types.T |
| 1725 | |
| 1726 | // If NullableArgs is false, the operator returns NULL |
| 1727 | // whenever either argument is NULL. |
| 1728 | NullableArgs bool |
| 1729 | |
| 1730 | // Datum return type is a union between *DBool and dNull. |
| 1731 | Fn func(*EvalContext, Datum, Datum) (Datum, error) |
| 1732 | |
| 1733 | types TypeList |
| 1734 | isPreferred bool |
| 1735 | |
| 1736 | //// counter, if non-nil, should be incremented every time the |
| 1737 | //// operator is type checked. |
| 1738 | //counter telemetry.Counter |
| 1739 | } |
| 1740 | |
| 1741 | func (op *CmpOp) params() TypeList { |
| 1742 | return op.types |
nothing calls this directly
no outgoing calls
no test coverage detected