remove spaces
This commit is contained in:
		@ -10,17 +10,9 @@ import java.util.Optional;
 | 
			
		||||
@Repository
 | 
			
		||||
public interface UserRepository extends JpaRepository<User, Long> {
 | 
			
		||||
 | 
			
		||||
    @Query("SELECT c FROM User c WHERE c.email = :email")
 | 
			
		||||
    Optional<User> findByEmail(String email);
 | 
			
		||||
    
 | 
			
		||||
    /*SELECT count(*) FROM users WHERE is_employee == 1;
 | 
			
		||||
     */
 | 
			
		||||
	@Query("SELECT c FROM User c WHERE c.email = :email")
 | 
			
		||||
	Optional<User> findByEmail(String email);
 | 
			
		||||
 | 
			
		||||
    
 | 
			
		||||
    @Query("SELECT count(*) FROM User WHERE isEmployee = true")
 | 
			
		||||
    Optional<Integer> numberOfEmployees();
 | 
			
		||||
    
 | 
			
		||||
    
 | 
			
		||||
	@Query("SELECT count(*) FROM User WHERE isEmployee = true")
 | 
			
		||||
	Optional<Integer> numberOfEmployees();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user