Skip to content

Commit

Permalink
Merge pull request #5 from nchandrappa/master
Browse files Browse the repository at this point in the history
Updating YsqlRepository Interface to support Pagination.
  • Loading branch information
nchandrappa authored Aug 5, 2021
2 parents b24d861 + 15a5ec8 commit afa16f1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.NoRepositoryBean;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
* Extending {@link CrudRepository} to support additional methods specific to
Expand All @@ -22,7 +23,7 @@
* @author Nikhil Chandrappa
*/
@NoRepositoryBean
public interface YsqlRepository<T, ID> extends CrudRepository<T, ID> {
public interface YsqlRepository<T, ID> extends PagingAndSortingRepository<T, ID> {

long count();

Expand Down

0 comments on commit afa16f1

Please sign in to comment.