MCPcopy
hub / github.com/Masterminds/squirrel / LeftJoin

Method LeftJoin

select.go:303–305  ·  view source on GitHub ↗

LeftJoin adds a LEFT JOIN clause to the query.

(join string, rest ...interface{})

Source from the content-addressed store, hash-verified

301
302// LeftJoin adds a LEFT JOIN clause to the query.
303func (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.
308func (b SelectBuilder) RightJoin(join string, rest ...interface{}) SelectBuilder {

Callers 1

TestSelectBuilderToSqlFunction · 0.80

Calls 1

JoinClauseMethod · 0.95

Tested by 1

TestSelectBuilderToSqlFunction · 0.64