From a687da1e96e8130b55ec7b2ab01a0ba4f38caa19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Oliva?= Date: Sat, 27 May 2023 20:28:43 -0600 Subject: Added more comments to help setup a database. --- src/main/java/com/encora/ToDosRepository.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main/java') 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{ +// // Get to dos list filtered. +// public List 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; -- cgit v1.2.3