MCPcopy Index your code
hub / github.com/Sopage/android-orm / getDatabase

Method getDatabase

library/src/main/java/com/sanders/db/DBProxy.java:627–630  ·  view source on GitHub ↗

拿到数据库操作类SQLiteDatabase并打开数据库计数加1 @return

()

Source from the content-addressed store, hash-verified

625 * @return
626 */
627 private SQLiteDatabase getDatabase() {
628 mOpenCount++;
629 return getCreateDatabase();
630 }
631
632 /**
633 * 获取数据可SQLiteDatabase,需要实现此方法

Callers 11

insertMethod · 0.95
updateMethod · 0.95
insertOrUpdateMethod · 0.95
execSQLMethod · 0.95
deleteMethod · 0.95
queryCountMethod · 0.95
queryPrimaryKeyMethod · 0.95
queryMethod · 0.95
querySqlMethod · 0.95
querySqlListMethod · 0.95
queryListMethod · 0.95

Calls 1

getCreateDatabaseMethod · 0.95

Tested by

no test coverage detected