Skip to content

Commit

Permalink
Update query_builder.go
Browse files Browse the repository at this point in the history
  • Loading branch information
nimoc committed Jun 7, 2024
1 parent 9eb359e commit f7eb6e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion query_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ func (qb QB) SQL(statement Statement) Raw {
warningTitle := "goclub/sql: (NO SELECT FIELD)"
var warning string
if qb.From != nil {
warning = "qb.From field does not have db struct tag( XXX string `db:\"name\"` ), or you forget set qb.Select"
warning = "qb.From field does not have db struct tag or you forget set qb.Select"
} else {
warning = "qb.Select is empty and qb.Form is nil, maybe you forget set qb.Select"
}
Expand Down

0 comments on commit f7eb6e5

Please sign in to comment.