Why is there no database file when using the Android room?

I use the number storage library for my Android application, but after creating it, I can’t find the .sql file with tables on my device.

When I create the database through SQLiteOpenHelper, I can see all my tables in the folder data on the device, but when I create the database through the "Room", there is no file anywhere.

Where can I see the contents of all my tables?

Create database code:

@Provides
@Singleton
PokuponDataBase providePokuponDataBase() {
    return Room.inMemoryDatabaseBuilder(SuperDealApp.getInstance().getApplicationContext(), PokuponDataBase.class, "PokuponRoomDatabase").build();
}
+6
source share
1 answer

. , . Room.InMemoryDatabaseBuilder() Room.databaseBuilder(), db , inMemory .

+3

All Articles