insert

abstract suspend fun insert(model: Model)

Insert a Model into the models table. If the model already exists, replace it.

Parameters

model

the Model to be inserted.