clearUnsafe method
Implementation
Future<void> clearUnsafe() async {
for (final pid in await _allPageIds()) {
final page = SlottedPage.blank(pid);
page.setLsn(_currentLsn);
await _putPage(page);
}
meta.rootPageId = -1;
meta.rowCount = 0;
_nextRowId = 1;
}