Sugar ORM (Object Relational Mapping). Insanely easy way to work with Android Databases. It is intended to simplify the interaction with SQLite database's in Android.
How does it help
It is intended to simplify the interaction with SQLite database in Android.
- It eliminates writing SQL queries to interact with SQLite db.
- It takes care of creating your database.
- It manages object relationships too.
- It provides you with clear and simple APIs for db operations
Why it was made
We felt the need for it while building Android apps that had following characteristics:
- Fairly large and complex data model.
- Primary work was to save/retrieve and iterate over the business objects.
- Lot of boiler plate code for the db operations.
- We wanted to write our business logic in less technical and more business fashion.
What it provides
There are two parts to it:
- Database creation
- Simple APIs to manipulate your business objects