aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdrián Oliva <adrian.oliva@cimat.mx>2023-05-27 20:28:43 -0600
committerAdrián Oliva <adrian.oliva@cimat.mx>2023-05-27 20:28:43 -0600
commita687da1e96e8130b55ec7b2ab01a0ba4f38caa19 (patch)
tree03bde307deb332609a75eb074e648c726e07a03b /src
parent7fe903d6f30c97494671316492049a15123aa021 (diff)
downloadToDo-App-BE-a687da1e96e8130b55ec7b2ab01a0ba4f38caa19.tar.gz
ToDo-App-BE-a687da1e96e8130b55ec7b2ab01a0ba4f38caa19.zip
Added more comments to help setup a database.
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;