Interface DriverChatRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<DriverChat,Long>, org.springframework.data.repository.Repository<DriverChat,Long>

@Repository public interface DriverChatRepository extends org.springframework.data.repository.CrudRepository<DriverChat,Long>
  • Method Summary

    Modifier and Type
    Method
    Description
    findAllByOrderByTimeStampDesc(org.springframework.data.domain.Pageable pageable)
     
    findByIdAndSender(long id, User user)
     

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
  • Method Details

    • findAllByOrderByTimeStampDesc

      List<DriverChat> findAllByOrderByTimeStampDesc(org.springframework.data.domain.Pageable pageable)
    • findByIdAndSender

      Optional<DriverChat> findByIdAndSender(long id, User user)