package sg.ncl.service.experiment.data.jpa;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author Christopher Zhong
 */
public interface ExperimentRepository extends JpaRepository<ExperimentEntity, Long> {

    List<ExperimentEntity> findByUserId(String userId);
    Long countByTeamId(String teamId);
}

@@ -325,22 +325,20 @@
 ntBy
-TeamId
+Name
 (String 
 team
@@ -337,14 +337,12 @@
 ing 
-teamId
+name
 );%0A%7D

Add method to search by experiment name