Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
insert
Method · 0.95
update
Method · 0.95
insertOrUpdate
Method · 0.95
execSQL
Method · 0.95
delete
Method · 0.95
queryCount
Method · 0.95
queryPrimaryKey
Method · 0.95
query
Method · 0.95
querySql
Method · 0.95
querySqlList
Method · 0.95
queryList
Method · 0.95
Calls
1
getCreateDatabase
Method · 0.95
Tested by
no test coverage detected