Interface PaymentRepositoryMongodb
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<PaymentMongoEntity,String>,org.springframework.data.mongodb.repository.MongoRepository<PaymentMongoEntity,String>,org.springframework.data.repository.PagingAndSortingRepository<PaymentMongoEntity,String>,org.springframework.data.repository.query.QueryByExampleExecutor<PaymentMongoEntity>,org.springframework.data.repository.Repository<PaymentMongoEntity,String>
@Repository @Profile({"mongo","fongo"}) public interface PaymentRepositoryMongodb extends org.springframework.data.mongodb.repository.MongoRepository<PaymentMongoEntity,String>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<PaymentMongoEntity>findByUserIdAndId(String userId, String id)-
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
-
-
-
-
Method Detail
-
findByUserIdAndId
Optional<PaymentMongoEntity> findByUserIdAndId(String userId, String id)
-
-