delete

open fun delete()

Deletes this Entity instance, both from the cache and from the database.

Samples

org.jetbrains.exposed.sql.tests.shared.entities.EntityTests.testErrorOnSetToDeletedEntity