insertAll

abstract suspend fun insertAll(cargos: List<CargoRoomEntity>)

Inserts a list of cargos into the local database. If a conflict occurs, the existing cargos are replaced.

Parameters

cargos

The list of cargos to be inserted.