From 53a1518437d90bac5925a7cd04cf0acaee176702 Mon Sep 17 00:00:00 2001 From: Jon Hester Date: Sun, 9 Apr 2017 10:52:27 -0400 Subject: [PATCH] fix typo in crud --- documents/crud.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documents/crud.md b/documents/crud.md index e82de3fa..1748ed5c 100644 --- a/documents/crud.md +++ b/documents/crud.md @@ -598,7 +598,7 @@ db.Model(&user).Omit("name").Updates(map[string]interface{}{"name": "hello", "ag ### Update Changed Fields Without Callbacks -Above updating operations will perform the mdoel's `BeforeUpdate`, `AfterUpdate` method, update its `UpdatedAt` timestamp, save its `Associations` when updaing, if you don't want to call them, you could use `UpdateColumn`, `UpdateColumns` +Above updating operations will perform the model's `BeforeUpdate`, `AfterUpdate` method, update its `UpdatedAt` timestamp, save its `Associations` when updaing, if you don't want to call them, you could use `UpdateColumn`, `UpdateColumns` ```go // Update single attribute, similar with `Update`