@Table(converters: [SessionStatusConverter()])
class Session extends Entity<Session> {
@primaryKey
final int id;
final SessionStatus status;
Currently, Yaroorm automatically stores SessionStatus as String COLUMN in the Database. We should be able to specify a Type eg: INTEGER, this will be more performant.
Something like this
class Session extends Entity<Session> {
@primaryKey
final int id;
@TableColumn(type: int)
final SessionStatus status;
Currently,
Yaroormautomatically storesSessionStatusasStringCOLUMN in the Database. We should be able to specify a Type eg:INTEGER, this will be more performant.Something like this