From 0b952b033508e022d1781dbdcb83f6fb7acdaa3a Mon Sep 17 00:00:00 2001 From: gernest Date: Mon, 1 May 2017 10:37:01 +0300 Subject: [PATCH] fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bdb2723..8ee5296 100644 --- a/README.md +++ b/README.md @@ -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.