Merge pull request #28 from GeertJohan/patch-1

Fix example in README
This commit is contained in:
Aaron L 2016-09-05 00:55:36 -07:00 committed by GitHub
commit a4a1766028

View file

@ -131,7 +131,7 @@ users, err := models.Users(db,
InnerJoin("credit_cards c on c.user_id = users.id"),
Where("age > ?", 30),
AndIn("c.kind in ?", "visa", "mastercard"),
Or("email like ?", "%aol.com%"),
Or("email like ?", `%aol.com%`),
GroupBy("id", "name"),
Having("count(c.id) > ?", 2),
Limit(5),