Query about android databases
Answers
Answered by
0
hey mate!
public static void logTableDump(SQLiteDatabase db, String tablename) {
Cursor cursor = db.query(tablename, null, null, null, null, null, null);
try {
String dump = DatabaseUtils.dumpCursorToString(cursor);
DaoLog.d(dump);
} finally {
cursor.close();
Similar questions
World Languages,
7 months ago
English,
7 months ago
Social Sciences,
7 months ago
Math,
1 year ago
Chemistry,
1 year ago
English,
1 year ago
Science,
1 year ago