We need to be able to rewrite statements to convert a stmt such as: FROM users AS u INNER JOIN orders AS o ON u.user_id = o.user_id So that we can evaluate the Join Key on left/right in this case, it is simple, just => user_id or this one: FROM users AS u INNER JOIN orders AS o ON LOW
()
| 1516 | // => LOWER(user_id) |
| 1517 | // |
| 1518 | func (m *SqlSource) JoinNodes() []expr.Node { |
| 1519 | return m.joinNodes |
| 1520 | } |
| 1521 | func (m *SqlSource) Finalize() error { |
| 1522 | if m.final { |
| 1523 | return nil |
no outgoing calls