upsertJetpacks

abstract suspend fun upsertJetpacks(remoteJetpacks: List<JetpackEntity>)

Upserts (insert or update) jetpacks from a remote source. If a jetpack already exists locally (matching ID), it will be updated with the remote version. If it doesn't exist locally, a new entry will be created.

Return

List of row IDs for the inserted rows.

Parameters

remoteJetpacks

List of jetpack entities from the remote source to be upserted.