Created
October 27, 2017 12:08
-
-
Save khannedy/3d7007bb5dc96c72d0c5ca4c65564d28 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.idspring.crudreactive.repository; | |
import com.idspring.crudreactive.entity.Product; | |
import org.springframework.data.mongodb.repository.ReactiveMongoRepository; | |
import reactor.core.publisher.Flux; | |
/** | |
* @author Eko Kurniawan Khannedy | |
* @since 24/10/17 | |
*/ | |
public interface ProductRepository extends ReactiveMongoRepository<Product, String> { | |
Flux<Product> findAllByCategoryId(String categoryId); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment