(cfg *SQLGenerator, not bool, other Node)
| 20 | } |
| 21 | |
| 22 | func (s AstString) EqualsSQLString(cfg *SQLGenerator, not bool, other Node) (string, error) { |
| 23 | switch other.UseAs().(type) { |
| 24 | case AstString: |
| 25 | return basicSQLEquality(cfg, not, s, other), nil |
| 26 | default: |
| 27 | return "", xerrors.Errorf("unsupported equality: %T %s %T", s, equalsOp(not), other) |
| 28 | } |
| 29 | } |
nothing calls this directly
no test coverage detected