Last active
December 1, 2020 07:43
-
-
Save frekele/249f63d202be189ffd349c675b8949ff 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
public interface CustomerRepository extends MongoRepository<Customer, String> { | |
public Customer findByFirstName(String firstName); | |
public List<Customer> findByLastName(String lastName); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment