update

abstract fun update(vararg data: entity)

Function to update entity value inside the database

Parameters

data

instance of entity to be updated