MCPcopy Create free account
hub / github.com/wyouflf/xUtils3 / getDbModel

Method getDbModel

xutils/src/main/java/org/xutils/db/CursorUtils.java:42–49  ·  view source on GitHub ↗
(final Cursor cursor)

Source from the content-addressed store, hash-verified

40 }
41
42 public static DbModel getDbModel(final Cursor cursor) {
43 DbModel result = new DbModel();
44 int columnCount = cursor.getColumnCount();
45 for (int i = 0; i < columnCount; i++) {
46 result.add(cursor.getColumnName(i), cursor.getString(i));
47 }
48 return result;
49 }
50}

Callers 4

findFirstMethod · 0.95
findAllMethod · 0.95
findDbModelFirstMethod · 0.95
findDbModelAllMethod · 0.95

Calls 2

addMethod · 0.95
getStringMethod · 0.80

Tested by

no test coverage detected