Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 committed Dec 25, 2021
1 parent 6120d82 commit 9c5abe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ let banana = fruit::ActiveModel {
};

// create, because primary key `id` is `NotSet`
let mut banana = banana.save(db).await?.into_active_model();
let mut banana = banana.save(db).await?;

banana.name = Set("Banana Mongo".to_owned());

Expand Down

0 comments on commit 9c5abe5

Please sign in to comment.