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

nekoinemo

11/11/2017, 8:22 PM
Hello. Is there a way to use id value directly in Table operations if i went with DAO's EntityId<*> approach? In other words, how can i use, say, Long value to select from table if i declared table as LongIdTable?
t

tapac

11/13/2017, 6:56 AM
YourTable.id eq EntityID(123L, YourTable)
n

nekoinemo

11/13/2017, 12:58 PM
Oh, just that? I assumed there will be some more complicated way. Thank you!