Fix things
This commit is contained in:
parent
f713e041ad
commit
ba5034b7ee
1 changed files with 8 additions and 8 deletions
|
@ -41,30 +41,30 @@ func Limit(limit int) QueryMod {
|
||||||
}
|
}
|
||||||
|
|
||||||
// InnerJoin on another table
|
// InnerJoin on another table
|
||||||
func InnerJoin(on string, args ...interface{}) QueryMod {
|
func InnerJoin(stmt string, args ...interface{}) QueryMod {
|
||||||
return func(q *boil.Query) {
|
return func(q *boil.Query) {
|
||||||
boil.SetInnerJoin(q, on, args...)
|
boil.SetInnerJoin(q, stmt, args...)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// OuterJoin on another table
|
// OuterJoin on another table
|
||||||
func OuterJoin(on string, args ...interface{}) QueryMod {
|
func OuterJoin(stmt string, args ...interface{}) QueryMod {
|
||||||
return func(q *boil.Query) {
|
return func(q *boil.Query) {
|
||||||
boil.SetOuterJoin(q, on, args...)
|
boil.SetOuterJoin(q, stmt, args...)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// LeftOuterJoin on another table
|
// LeftOuterJoin on another table
|
||||||
func LeftOuterJoin(on string, args ...interface{}) QueryMod {
|
func LeftOuterJoin(stmt string, args ...interface{}) QueryMod {
|
||||||
return func(q *boil.Query) {
|
return func(q *boil.Query) {
|
||||||
boil.SetLeftOuterJoin(q, on, args...)
|
boil.SetLeftOuterJoin(q, stmt, args...)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// RightOuterJoin on another table
|
// RightOuterJoin on another table
|
||||||
func RightOuterJoin(on string, args ...interface{}) QueryMod {
|
func RightOuterJoin(stmt string, args ...interface{}) QueryMod {
|
||||||
return func(q *boil.Query) {
|
return func(q *boil.Query) {
|
||||||
boil.SetRightOuterJoin(q, on, args...)
|
boil.SetRightOuterJoin(q, stmt, args...)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue