1
0
forked from PGL/Clyde

/bin/bash: line 1: q: command not found

This commit is contained in:
Bartha Maxime 2024-03-06 17:34:18 +01:00
parent 7222bca6e2
commit 6a39464f61
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,7 @@
package ovh.herisson.Clyde.Repositories;
import org.springframework.data.repository.CrudRepository;
import ovh.herisson.Clyde.Tables.Token;
public interface TokenRepository extends CrudRepository<Token,Long> {
}

View File

@ -10,6 +10,8 @@ public interface UserRepository extends CrudRepository<User, Long> {
User findById(long id); User findById(long id);
User findByEmail(String email);
/** /**
@Query(value = "select a.* from Users a ",nativeQuery = true) @Query(value = "select a.* from Users a ",nativeQuery = true)
Iterable<User> findAllUsers();**/ Iterable<User> findAllUsers();**/