官网
https://github.com/guolindev/LitePal
中文文档
https://blog.csdn.net/guolin_blog/category_9262963.html
简介
An Android library that makes developers use SQLite database extremely easy.
LitePal is an open source Android library that allows developers to use SQLite database extremely easy. You can finish most of the database operations without writing even a SQL statement, including create or upgrade tables, crud operations, aggregate functions, etc. The setup of LitePal is quite simple as well, you can integrate it into your project in less than 5 minutes.
Experience the magic right now and have fun!
Features
- Using object-relational mapping (ORM) pattern.
- Almost zero-configuration(only one configuration file with few properties).
- Maintains all tables automatically(e.g. create, alter or drop tables).
- Multi databases supported.
- Encapsulated APIs for avoiding writing SQL statements.
- Awesome fluent query API.
- Alternative choice to use SQL still, but easier and better APIs than the originals.
- More for you to explore.