Skip to content

Commit

Permalink
fix(doc): user -> users (#719)
Browse files Browse the repository at this point in the history
  • Loading branch information
freespace8 authored Nov 1, 2023
1 parent 3bce73e commit c2cc991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/gen/sql_annotation.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ The `for` expression iterates over a slice to generate the SQL, let's explain by
```go
// SELECT * FROM @@table
// {{where}}
// {{for _,user:=range user}}
// {{for _,user:=range users}}
// {{if user.Name !="" && user.Age >0}}
// (username = @user.Name AND [email protected] AND role LIKE concat("%",@user.Role,"%")) OR
// {{end}}
Expand Down

0 comments on commit c2cc991

Please sign in to comment.