clearDatabase

abstract suspend fun clearDatabase()

Clears all database tables without resetting the auto-increment value generated by PrimaryKey.autoGenerate.

WARNING: This will clear the database and it's not recoverable.

Sources

androidJvm source
Link copied to clipboard