SrSouza
09/12/2019, 12:01 PMtapac
09/12/2019, 12:06 PMSrSouza
09/12/2019, 12:12 PMtapac
09/12/2019, 12:13 PMclass MyBlobColumnType : IColumnType by BlobColumnType() {
}
SrSouza
09/12/2019, 12:15 PMtapac
09/12/2019, 12:20 PMColumnWithTransform
which accepts two lambdas to convert values to and from a database. Like:
class FooEntity() : IntEntity {
var offlinePlayer = FooTable.playerId.transform({ it.uniqueId }, { offlinePlayer(it) })
}
SrSouza
09/12/2019, 12:22 PMtapac
09/12/2019, 12:23 PM