Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
How to clear a table? #27
Data does needs to be loaded before deleted. The reason for this is a children are stored through join tables. So deleting without ids would leave unused rows in the join tables.
I do see that this is not a problem if you are deleting all rows so could be worth adding a clear all method.
Loading rows is pretty quick unless your talking about multiple thousands.
It can be done on a background thread.