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

Method queryCount

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

查询数量 @param clazz @param where @param args @param @return

(Class<T> clazz, String where, String... args)

Source from the content-addressed store, hash-verified

348 * @return
349 */
350 public <T extends IDColumn> long queryCount(Class<T> clazz, String where, String... args) {
351 ClassInfo<T> classInfo = getClassInfo(clazz);
352 return queryCount(classInfo.getTableName(), where, args);
353 }
354
355 /**
356 * 查询数量

Callers

nothing calls this directly

Calls 4

getClassInfoMethod · 0.95
getDatabaseMethod · 0.95
closeMethod · 0.95
getTableNameMethod · 0.80

Tested by

no test coverage detected