upsertJetpack

abstract suspend fun upsertJetpack(jetpackEntity: JetpackEntity)

Inserts or updates a jetpack in the database. If a jetpack with the same ID already exists, it will be updated; otherwise, a new entry will be created.

Parameters

jetpackEntity

The JetpackEntity object to upsert.