delete

abstract fun delete(db: SQLiteDatabase)

delete all elements from table but not the table itself.

Parameters

db

database to use (not null)

Throws

android.database.sqlite.SQLiteException

Database could not be deleted.