Skip to content

How to migrate usages of set(column: Column<*>, value: Any?) to set(column: Column<C>, value: C?) in 3.3? #237

Discussion options

You must be logged in to vote

You can cast column as Column<Any>:

it.columns(reified).forEach { (column, value) ->
    set(column as Column<Any>, value)
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vincentlauvlwj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants