deleteOne

fun deleteOne(entity: T)

Delete a record from the database.

Parameters

entity

The object to be deleted.

Throws

if the class is not annotated with @Table.

if there is an error executing the query.