Android room - How to clear sqlite_sequence for all table
问题 If user logout from the app, i'm clearing data from tables one by one using @Query("DELETE FROM tableName") Then i'm trying to clear the sqlite_sequence for all table one by one using below code. database = Room.databaseBuilder(getApplicationContext(), AppDatabase.class, DatabaseMeta.DB_NAME) .build(); database.query("DELETE FROM sqlite_sequence WHERE name = ?", new Object[]{"tableName"}) Unfortunately clearing sqlite_sequence is not working. So if the user login again, then the starting