clear

abstract fun clear(vararg vehicles: DVehicle)

Removes all the data for selected vehicles from the database

Parameters

vehicles

vehicles which data should be removed (with given ids)


abstract fun clear(id: String): Int

Removes all the data for selected vehicle from the database

Return

the number of updated rows : should always be 1 (as only one VehicleModel should be deleted).

Parameters

id

DVehicle.id of vehicle to remove