EnumColumnAdapter

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

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

Functions

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