We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94775dd commit 0059b70Copy full SHA for 0059b70
1 file changed
debug-db/src/main/java/com/amitshekhar/utils/DatabaseHelper.java
@@ -46,7 +46,7 @@ private DatabaseHelper() {
46
47
public static Response getAllTableName(SQLiteDatabase database) {
48
Response response = new Response();
49
- Cursor c = database.rawQuery("SELECT name FROM sqlite_master WHERE type='table' OR type='view'", null);
+ Cursor c = database.rawQuery("SELECT name FROM sqlite_master WHERE type='table' OR type='view' ORDER BY name", null);
50
if (c.moveToFirst()) {
51
while (!c.isAfterLast()) {
52
response.rows.add(c.getString(0));
0 commit comments