insertOrUpdate

abstract fun insertOrUpdate(vararg vehicles: DVehicle)

Inserts or updates vehicles to the database. In case the vehicle with given ID is already present in the database, it's data will be updated.

Parameters

vehicles

vehicles to be inserted or updated