(cfg *SQLGenerator, not bool, other Node)
| 31 | } |
| 32 | |
| 33 | func (p astParenthesis) EqualsSQLString(cfg *SQLGenerator, not bool, other Node) (string, error) { |
| 34 | if supp, ok := p.Value.(SupportsEquality); ok { |
| 35 | return supp.EqualsSQLString(cfg, not, other) |
| 36 | } |
| 37 | return "", xerrors.Errorf("unsupported equality: %T %s %T", p.Value, equalsOp(not), other) |
| 38 | } |
| 39 | |
| 40 | func (p astParenthesis) ContainsSQL(cfg *SQLGenerator, other Node) (string, error) { |
| 41 | if supp, ok := p.Value.(SupportsContains); ok { |
nothing calls this directly
no test coverage detected