Created
November 10, 2020 10:30
-
-
Save billydh/896f99974a1d445be17c4d5f3b5ba62b to your computer and use it in GitHub Desktop.
setting ignoreNulls to true
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun updateCustomer(customer: CustomerPersist): Mono<Unit> { | |
return Mono.fromFuture(table.updateItem { it.item(customer).ignoreNulls(true) }) | |
.map { Unit } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment