CrudRepository.removeById

Removes an entity from the table using its primary key(s).

interface CrudRepository(T)
@Where(generateWhere!T)
void
removeById
(
Ids!T args
)
if (
Ids!T.length
)

Examples

repository.removeById(55);

Meta