Skip to content

Instantly share code, notes, and snippets.

@billydh
Created November 10, 2020 10:30
Show Gist options
  • Save billydh/896f99974a1d445be17c4d5f3b5ba62b to your computer and use it in GitHub Desktop.
Save billydh/896f99974a1d445be17c4d5f3b5ba62b to your computer and use it in GitHub Desktop.
setting ignoreNulls to true
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