Fix example in README

Percentages in a string should be either escaped `"%%"` or placed in a raw string. ````%````
This commit is contained in:
Geert-Johan Riemer 2016-09-05 09:51:34 +02:00 committed by GitHub
parent 003a51d90f
commit c6c0db5b88

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),