CrudRepository.select

Selects and entity using the entity's primary key(s).

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

Examples

Example entity = repository.select(12);
if(entity !is null) {
   // do something
}

Meta