[Android]Android端ORM框架——RapidORM(v2.1)
以下內容為原創,歡迎轉載,轉載請注明
來自天天博客:http://www.cnblogs.com/tiantianbyconan/p/6020412.html
[Android]Android端ORM框架——RapidORM(v2.1)
RapidORM:Android端輕量高性能的ORM框架
GitHub: https://github.com/wangjiegulu/RapidORM
RapidORM v2.1 feature
在執行SQL和創建表時提升性能。
提升bind參數時的性能
Index支持。
上傳至Maven中心庫。
關于 RapidORM
主鍵支持任何類型,支持聯合主鍵。
非反射執行SQL。
高性能。
兼容 android.database.sqlite.SQLiteDatabase、 net.sqlcipher.database.SQLiteDatabase以及更多加密實現。
友好的面向對象接口調用。
Index支持。
聯表查詢未支持。
v2.0 blog: http://www.cnblogs.com/tiantianbyconan/p/5626716.html
v1.0 blog: http://www.cnblogs.com/tiantianbyconan/p/4748077.html
怎么使用
1. build.gradle 添加依賴
Gadle(獲取最新版本)
compile "com.github.wangjiegulu:rapidorm:x.x.x"compile "com.github.wangjiegulu:rapidorm-api:x.x.x"apt "com.github.wangjiegulu:rapidorm-compiler:x.x.x"Maven(獲取最新版本)
<dependency><groupId>com.github.wangjiegulu</groupId><artifactId>rapidorm</artifactId><version>x.x.x</version> </dependency>具體使用方式見:
v2.0 blog: http://www.cnblogs.com/tiantianbyconan/p/5626716.html
v1.0 blog: http://www.cnblogs.com/tiantianbyconan/p/4748077.html
轉載于:https://www.cnblogs.com/tiantianbyconan/p/6020412.html
總結
以上是生活随笔為你收集整理的[Android]Android端ORM框架——RapidORM(v2.1)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: bat里如何用相对路径
- 下一篇: 2016年11月2日——jQuery源码