Interface FarmerActivityRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<FarmerActivity, Long>, org.springframework.data.repository.Repository<FarmerActivity, Long>
@Repository
public interface FarmerActivityRepository
extends org.springframework.data.repository.CrudRepository<FarmerActivity, Long>
-
Method Summary
Modifier and TypeMethodDescriptionfindByStudentIdInAndTimestampGreaterThanEqualAndTimestampLessThan(Collection<Long> studentIds, LocalDateTime startInclusive, LocalDateTime endExclusive) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
-
Method Details
-
findByFarmerOrderByTimestampDesc
-
findByFarmer_GameOrderByTimestampDesc
-
findByStudentIdInAndTimestampGreaterThanEqualAndTimestampLessThan
List<FarmerActivity> findByStudentIdInAndTimestampGreaterThanEqualAndTimestampLessThan(Collection<Long> studentIds, LocalDateTime startInclusive, LocalDateTime endExclusive)
-