Realm DB vs. Room DB in a Nutshell
ฝัง
- เผยแพร่เมื่อ 8 ก.ย. 2024
- Follow for more Kotlin & Android tips! 💻
#kotlin #kotlintips #androiddeveloper #android #androiddev #androidcoding #androiddevs #mobiledev #mobiledeveloper #mobiledevelopment #softwareengineering #softwareengineer
I like it! The new style is so good. and the humour 😂
The animation style and this new brand is just so beautiful
Realm is for Multiplatform (Native Android dev already has a treasure that is Room )
In my practice, the realm needs more code than Room.
In realm you need make much code, in room you only describe in interface, what request to do and what data you need to get.
So Realm has more boilerplate code.
But I agree that Realm has many features that Room does not have.
If you want to use chatgpt 4 to get SQL queries, stick to room
I love using Realm, it's so intuitive!
Also, realm supports encryption!
As someone who works with a complex dataset in TypeScript with Realm. I would much rather use Kotlin with Room because SQL is much better suited for a complex database.
I reckon that room will get better soon
Fun with learning 😃
I don't know where boilerplate code in Room, when there is basically annotations that write queries for you like @Upsert. Specific dto data classes to describe tables in db? As far as I know you should do the same in Room(but we have old version in project)
A DB class and lots of annotations and extra classes to implement multiple relations. Realm is pretty much just working with kotlin objects
@@PhilippLackner okay, didn't work on that level so maybe so, but i this on basic level room is certainly easier as for me, so I would offer clarification in which cases you can see the difference
@@kovshichek5933 I released a very detailed video a week ago :)
Love it!!!!
use sqldelight for multiplatform, not realm
Why
Cause it is faster @@Osanosa
K thx
@@Osanosa I used Realm about 6 years ago and its proper implementation was not beginner's friendly and it was really easy to abuse
@@himanshukhati1193 😧
Nice comparisom
Room for native Kotlin. Realm for KMP. End of story.
Happy for both of u😅😅
i hate realm...i love room
😄
Realm sucks
Why
Realm bad! No support from devs!
Realm is just waste
😂😂