Join Slack
Powered by
Anyone using room database in kotlin? How do you c...
# android
k
Kevin Janvier Chinabalire
08/23/2018, 7:16 AM
Anyone using room database in kotlin? How do you clear all tables ?
stackoverflow
1
l
louiscad
08/23/2018, 7:20 AM
The same way you would clear any SQLite database, with
Context.deleteDatabase(name)
k
Kevin Janvier Chinabalire
08/23/2018, 7:22 AM
any link ? i saw something like db!!.clearAllTables()
l
louiscad
08/23/2018, 7:31 AM
I gave you the name of the method, please...
18
Views
Open in Slack
Previous
Next