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

Rodrigo Felizola Medeiros

03/24/2021, 9:28 PM
exist a way to save the data class without need to set one by one?
j

Joel

03/26/2021, 2:08 PM
No. You need to map the properties to database fields in a type-safe manner. Exposed doesn't use reflection to magically figure out what goes where, which you may like or not. You can use the DAO to create an entity and use that instead of a data class.
3 Views