Interface AppConfigRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<AppConfig,String>, org.springframework.data.repository.ListCrudRepository<AppConfig,String>, org.springframework.data.repository.ListPagingAndSortingRepository<AppConfig,String>, org.springframework.data.mongodb.repository.MongoRepository<AppConfig,String>, org.springframework.data.repository.PagingAndSortingRepository<AppConfig,String>, org.springframework.data.repository.query.QueryByExampleExecutor<AppConfig>, org.springframework.data.repository.Repository<AppConfig,String>

public interface AppConfigRepository extends org.springframework.data.mongodb.repository.MongoRepository<AppConfig,String>
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.springframework.data.mongodb.core.aggregation.AggregationResults<org.bson.Document>
     

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

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

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

    findAll, findAllById, saveAll

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

    findAll

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

    findAll, findAll, insert, insert

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

    findAll

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

    count, exists, findAll, findBy, findOne
  • Method Details

    • findByAppIdAndAppVersion

      @Query("{ appId : ?0, appVersion : ?1}") AppConfig findByAppIdAndAppVersion(String appId, String appVersion)
    • listOfAppConfigbylistOfPairOfAppIdAndAppVersion

      @Aggregation(pipeline="?#{[0]}") org.springframework.data.mongodb.core.aggregation.AggregationResults<org.bson.Document> listOfAppConfigbylistOfPairOfAppIdAndAppVersion(String matchQuery1)
      Parameters:
      matchQuery1 -