Package io.objectbox.annotation
Annotation Interface Type
Use on a property to override how its value is stored and interpreted in the database.
For example to change a long to be interpreted as nanoseconds instead of milliseconds:
@Type(DatabaseType.DateNano) public long timeInNanos;
-
Required Element Summary
Required Elements
-
Element Details
-
value
DatabaseType value
-