Skip to content

Commit

Permalink
docs: update example (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwangxc authored Apr 17, 2023
1 parent baa861a commit a1220da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func main () {
// [666]
g = sqlg.NewGenerator("user",
sqlg.WithAnd("id", sqlg.EQ(666)),
sqlg.WithAnd("deleted_at", sqlg.Null()))
sqlg.WithAnd("deleted_at", sqlg.NNull()))
_, _ = g.Select()

// SELECT id, name FROM user WHERE id>=? OR name=? ORDER BY id DESC LIMIT 10
Expand Down

0 comments on commit a1220da

Please sign in to comment.