im trying to create an objectbox for class but i don't need to save all values of that specific class. part of the values i use only at run-time so there is not point to save them in the database
iv tried to search over your site but couldn't find any documentation about excluding values
im using android and kotlin
for example:
class Timer(var total : Long) {
//i dont need to save it. use it for runtime only
var elapsedTime: Long = 0
}
To exclude properties use @Transient (from Kotlin or ObjectBox, both should work).