This message was deleted.
# realm
s
This message was deleted.
m
@Rodrigo Castrillón Restrepo: Have tried adding logs to check the output?
r
I have not done it, but I see that the management package has files that are only writeable, I do not know if I should enable read mode in the db
m
I would strongly suggest adding logger to understand more around the data.
r
Done! Using RealmLog.
1.png
m
In the SYSOUT - check the values you are getting for the object after the highlighted Realm block. Also, if this an source project, you can also share the github repo link i can have a look as well
r
I fixed it, it's working fine. Thanks Mohit.
m
Would mind sharing what happened ?
r
When I consult the database, the information is shown empty, but when I mapper to a data class from the domain layer, the information is loaded without a problem, perhaps it is because when doing the mapper the
Get
of each field of the class is executed which returns the database.
m
Great you figure it out correctly… Realm work little different then other DB avoid performance and memory issues. @chrmelchior @Claus Rørbech Can add something here or any share a reference for deeper understanding.
c
Unfortunately the debugger does not retrieve the persisted values. We have an issue tracking this here https://github.com/realm/realm-kotlin/issues/715