Skip to content

Commit

Permalink
Merge pull request #15 from OrlovEvgeny/master
Browse files Browse the repository at this point in the history
Combine args
  • Loading branch information
bgaifullin committed Aug 25, 2018
2 parents ebfef94 + fbfb5df commit bee39f3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.idea/*
.DS_Store
2 changes: 1 addition & 1 deletion condition.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func Or(cond ...Builder) Builder {
})
}

func buildCmp(d Dialect, buf Buffer, pred string, column string, value interface{}) error {
func buildCmp(d Dialect, buf Buffer, pred, column string, value interface{}) error {
buf.WriteString(d.QuoteIdent(column))
buf.WriteString(" ")
buf.WriteString(pred)
Expand Down
2 changes: 1 addition & 1 deletion join.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const (
full
)

func join(t joinType, table interface{}, on interface{}) Builder {
func join(t joinType, table, on interface{}) Builder {
return BuildFunc(func(d Dialect, buf Buffer) error {
buf.WriteString(" ")
switch t {
Expand Down

0 comments on commit bee39f3

Please sign in to comment.