LeftJoin adds a LEFT JOIN clause to the query.
(join string, rest ...interface{})
| 301 | |
| 302 | // LeftJoin adds a LEFT JOIN clause to the query. |
| 303 | func (b SelectBuilder) LeftJoin(join string, rest ...interface{}) SelectBuilder { |
| 304 | return b.JoinClause("LEFT JOIN "+join, rest...) |
| 305 | } |
| 306 | |
| 307 | // RightJoin adds a RIGHT JOIN clause to the query. |
| 308 | func (b SelectBuilder) RightJoin(join string, rest ...interface{}) SelectBuilder { |