ActiveAndroid icon indicating copy to clipboard operation
ActiveAndroid copied to clipboard

How do I clear all data from database?

Open gandharva opened this issue 13 years ago • 3 comments

I need to clear all data, but keep tables, when user logs out from app. Does ActiveAndroid provide any API for that?

gandharva avatar Oct 14 '13 14:10 gandharva

Will the following statement clear all data- new Delete().from(MyClass.class).executeSingle();

gandharva avatar Oct 14 '13 14:10 gandharva

look this https://github.com/pardom/ActiveAndroid/issues/68

rayboot avatar Oct 22 '13 13:10 rayboot

https://github.com/pardom/ActiveAndroid/pull/221

shanmarkus avatar Oct 28 '15 06:10 shanmarkus