Skip to content

Commit 451cad6

Browse files
committed
Documentation
1 parent acdd4a2 commit 451cad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/site/markdown/docs/kotlinMyBatis3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ val rows = mapper.update {
340340
It is also possible to write a utility method that will set values. For example:
341341

342342
```kotlin
343-
fun UpdateDSL<UpdateModel>.updateSelectiveColumns(record: PersonRecord) =
343+
fun KotlinUpdateBuilder.updateSelectiveColumns(record: PersonRecord) =
344344
apply {
345345
set(id).equalToWhenPresent(record::id)
346346
set(firstName).equalToWhenPresent(record::firstName)

0 commit comments

Comments
 (0)