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

Method close

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

关闭数据库SQLiteDatabase,打开数据库计数减1 @param database

(SQLiteDatabase database)

Source from the content-addressed store, hash-verified

640 * @param database
641 */
642 private void close(SQLiteDatabase database) {
643 mOpenCount--;
644 if (mOpenCount == 0 && database != null && database.isOpen()) {
645 database.close();
646 }
647 }
648
649 /**
650 * 关闭Cursor

Callers 12

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
upgradeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected