https://kotlinlang.org logo
#exposed
Title
# exposed
d

Dmitry Lapshin

09/16/2020, 12:30 PM
Hi! I am manually wrapping outer join result in DAO objects. How can I check that a column is null?
For now, I am using
Copy code
if (row[Table.id as Expression<EntityID<UUID>?>] != null) Table.wrapRow(row) else null
s

spand

09/16/2020, 12:32 PM
I think row has a
getOrNull
d

Dmitry Lapshin

09/16/2020, 12:33 PM
It checks for
hasValue
that checks for
NotInitializedValue
that I feel is not the case: value is initialized with
null
.
2 Views