Fix typo in documentation

This commit is contained in:
Nikola Kovacs 2017-01-05 10:37:37 +01:00 committed by GitHub
parent a48d6f4b8e
commit 1fec745f54

View File

@ -679,10 +679,10 @@ Delete all matched records
```go
db.Where("email LIKE ?", "%jinzhu%").Delete(Email{})
//// DELETE from emails where email LIKE "%jinhu%";
//// DELETE from emails where email LIKE "%jinzhu%";
db.Delete(Email{}, "email LIKE ?", "%jinzhu%")
//// DELETE from emails where email LIKE "%jinhu%";
//// DELETE from emails where email LIKE "%jinzhu%";
```
### Soft Delete