Skip to content

Commit

Permalink
save-command.uage
Browse files Browse the repository at this point in the history
  • Loading branch information
babyfish-ct committed Dec 2, 2024
1 parent 3fce749 commit 52417f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/mutation/save-command/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ public void addBook(
@PathVariable long storeId,
@PathVariable long bookId
) {
sqlClient.save(
sqlClient.update(
Immutables.createBook(
draft.setId(bookId);
draft.setStoreId(storeId);
Expand All @@ -486,7 +486,7 @@ fun addBook(
@PathVariable storeId: Long,
@PathVariable bookId: Long
) {
sqlClient.save(
sqlClient.update(
Book {
id = bookId
storeId = storeId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ public void addBook(
@PathVariable long storeId,
@PathVariable long bookId
) {
sqlClient.save(
sqlClient.update(
Immutables.createBook(
draft.setId(bookId);
draft.setStoreId(storeId);
Expand All @@ -486,7 +486,7 @@ fun addBook(
@PathVariable storeId: Long,
@PathVariable bookId: Long
) {
sqlClient.save(
sqlClient.update(
Book {
id = bookId
storeId = storeId
Expand Down

0 comments on commit 52417f4

Please sign in to comment.