EnumColumnAdapter

class EnumColumnAdapter<T : Enum<T>> : ColumnAdapter<T, String>

A ColumnAdapter which maps the enum class T to a string in the database.

Functions

Link copied to clipboard
open override fun decode(databaseValue: String): T
Link copied to clipboard
open override fun encode(value: T): String