Skip to content

Commit

Permalink
Correct Query/QueryDsl/template example code
Browse files Browse the repository at this point in the history
  • Loading branch information
momosetkn committed Sep 1, 2023
1 parent 3c16c4d commit 54062e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/en/docs/Reference/Query/QueryDsl/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Call the `copy` function on the parameter to change its properties:

```kotlin
val sql = "update ADDRESS set street = /*street*/'' where address_id = /*id*/0"
val query = Query<Long> = QueryDsl.executeTemplate(sql)
val query: Query<Long> = QueryDsl.executeTemplate(sql)
.bind("id", 15)
.bind("street", "NY street")
.options {
Expand Down
2 changes: 1 addition & 1 deletion content/ja/docs/Reference/Query/QueryDsl/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ val query: Query<Long> = QueryDsl.executeTemplate(sql)

```kotlin
val sql = "update ADDRESS set street = /*street*/'' where address_id = /*id*/0"
val query = Query<Long> = QueryDsl.executeTemplate(sql)
val query: Query<Long> = QueryDsl.executeTemplate(sql)
.bind("id", 15)
.bind("street", "NY street")
.options {
Expand Down

0 comments on commit 54062e4

Please sign in to comment.