In `update()`s `set { }` shouldn't it be `o.fieldN...
# komapper
d
In `update()`s
set { }
shouldn't it be
o.fieldName setTo "one"
instead of
eq
? Since
eq
is already used for
when { }
... in Kotlin, there's also a difference between
=
and
==
...
t
Komapper’s DSL follows the SQL syntax. In SQL syntax,
=
means both equality and assignment.
d
Ok, makes sense, thanks for the explanation.
Just funny when you see it in a Kotlin DSL... but could get used to it.