Non-relational DB on Android?
Hi everyone, is there a way to use a non-relational database on Android?
ORMs like Entity Framework are too heavy for such a platform and even the simpler SQLite-Net (or SQLite4Unity3D) can't handle relationships among the data model classes, and for me it's crucial to establish one-to-many and many-to-many associations.
That's why I started thinking about an alternative to ORMs.
Any suggestions? Thanks!
Answer by Salkairon · Oct 22, 2016 at 02:50 PM
I found a workaround to ORMs: there's the chance to use an OODB on mobile devices. It's the Elenesski's one you can find in the asset store. I'll take it as a starting point to eliminate the mapping between the entities model in my games and the tables of the relational database needed to persist them.
The only drawback are the OODB's poor querying capabilities, but I think business intelligence is not a major subject to undertake in game creation. However, Elenesski's custom indexes are powerful enough to filter data out during retrieval.
In the end, it was good to explore the non-relational world, just to understand i didn't need it.
Your answer
Follow this Question
Related Questions
Security with android 1 Answer
POST request to RESTful APIs 0 Answers
I can link oracle 12c Database with unity3d,but cannot query any data,why? 2 Answers
Sqlite memory leak causing game to crash 0 Answers
Dropdowns not performing as expected 0 Answers