Skip to content

Commit

Permalink
Merge pull request #45 from zengyufei/patch-3
Browse files Browse the repository at this point in the history
kotlin示例代码缺少=号
  • Loading branch information
babyfish-ct authored Oct 31, 2024
2 parents 64a810c + 6cfcbc3 commit 2238698
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ Jimmer并没有像传统ORM一样为关联属性提供配置`cascade`选项,
<TabItem value="kotlin" label="Kotlin">

```kotlin
val matched sqlClient.update(
val matched = sqlClient.update(
Book {
id = 100L
price = BigDecimal(60)
Expand Down Expand Up @@ -240,4 +240,4 @@ class BookController(
因此,强大的Jimmer数据保存能力只能在服务内部作为底层支撑,不能用动态实体作为输入参数并将此能力直接暴露给远程客户端,因为这会导致安全门户大开。

如何安全地暴露Jimmer的数据保存能力,请继续阅读下一篇文章:[暴露功能](./export)
:::
:::

0 comments on commit 2238698

Please sign in to comment.