(cfg *SQLGenerator, not bool, other Node)
| 27 | } |
| 28 | |
| 29 | func (n AstNumber) EqualsSQLString(cfg *SQLGenerator, not bool, other Node) (string, error) { |
| 30 | switch other.UseAs().(type) { |
| 31 | case AstNumber: |
| 32 | return basicSQLEquality(cfg, not, n, other), nil |
| 33 | default: |
| 34 | return "", xerrors.Errorf("unsupported equality: %T %s %T", n, equalsOp(not), other) |
| 35 | } |
| 36 | } |
nothing calls this directly
no test coverage detected