aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/encora/ToDosRepository.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/com/encora/ToDosRepository.java b/src/main/java/com/encora/ToDosRepository.java
index ff9d9a6..8d09d7e 100644
--- a/src/main/java/com/encora/ToDosRepository.java
+++ b/src/main/java/com/encora/ToDosRepository.java
@@ -2,8 +2,14 @@ package com.encora;
// Uncomment this for using a database instead.
//public interface ToDosRepository extends JpaRepository<ToDos, Integer>{
+// // Get to dos list filtered.
+// public List<ToDos> findAllWithFilter(String name, String priority, String done) throws Exception {
+// // Use Queries to filter your to dos.
+// return null;
+// }
//}
+// Comment ALL of this if using a database.
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;