Update column A with the value of column B

I want to update column B with an updated value of column A

So, something like this
db
    .update(characters)
    .set({
      normalized_name: normalize(characters.name),
    })

Obviously doesn't work this way, but what would be the way to do it in Drizzle?
Was this page helpful?