Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gernest committed May 1, 2017
1 parent a484c16 commit 0b952b0
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 @@ -229,7 +229,7 @@ db.Model(&user).Count(&count)
Which will execute

```sql
SELECT count(*) FROM foos
SELECT count(*) FROM users
```
You can build a normal query by chaining methods and call `Count` at the end,
that way the query will be executed and the matched rows will be counted.
Expand Down

0 comments on commit 0b952b0

Please sign in to comment.