encode

abstract fun encode(value: T): S

Return

value encoded as database type S.