MCPcopy Create free account
hub / github.com/aliml92/anor / LeftJoin

Method LeftJoin

postgres/sqlbuilder/sqlbuilder.go:40–47  ·  view source on GitHub ↗
(table, condition string)

Source from the content-addressed store, hash-verified

38}
39
40func (sb *SqlBuilder) LeftJoin(table, condition string) *SqlBuilder {
41 sb.WriteString("LEFT JOIN ")
42 sb.WriteString(table)
43 sb.WriteString(" ON ")
44 sb.WriteString(condition)
45 sb.WriteString(" ")
46 return sb
47}
48
49func (sb *SqlBuilder) Where() *SqlBuilder {
50 sb.WriteString("WHERE ")

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected