Interface TestRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<TestEntity,​String>, org.springframework.data.mongodb.repository.MongoRepository<TestEntity,​String>, org.springframework.data.repository.PagingAndSortingRepository<TestEntity,​String>, org.springframework.data.repository.query.QueryByExampleExecutor<TestEntity>, org.springframework.data.repository.Repository<TestEntity,​String>

public interface TestRepository extends org.springframework.data.mongodb.repository.MongoRepository<TestEntity,​String>
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteById, existsById, findAllById, findById, save

    Methods inherited from interface org.springframework.data.mongodb.repository.MongoRepository

    findAll, findAll, findAll, findAll, insert, insert, saveAll

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findOne
  • Method Details

    • countByValueData

      @CountQuery("{\'value.data\': \'?0\'}") int countByValueData(String data)