insert

abstract fun insert(data: entity)

Function to store entity to the database

Parameters

data

instance of entity to be saved