From 1fec745f548324d5c7ac36db09802135fd46a170 Mon Sep 17 00:00:00 2001 From: Nikola Kovacs Date: Thu, 5 Jan 2017 10:37:37 +0100 Subject: [PATCH] Fix typo in documentation --- documents/crud.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documents/crud.md b/documents/crud.md index bb6c1dd3..45fecc6c 100644 --- a/documents/crud.md +++ b/documents/crud.md @@ -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