Please follow the documentation at http://satyan.github.io/sugar
The example application is provided in the "example" folder in the source.
Sugar is now available as a library project also. Add it to your project and utilize the latest changes. The project is available in the folder "library" http://developer.android.com/tools/projects/index.html#LibraryProjects
- package restriction for domain classes.
- metadata caching
- QueryBuilder v1
- Database Migrations
- Provision for Raw queries
- Better and more organized api guide and usage instructions.
-
Static api doesn't take context anymore. Hence
Book.findById(context, Book.class, 1); becomes Book.findById(Book.class, 1);
-
Some cleanup in the code.