Skip to content

Instantly share code, notes, and snippets.

@frekele
Last active December 1, 2020 07:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frekele/249f63d202be189ffd349c675b8949ff to your computer and use it in GitHub Desktop.
Save frekele/249f63d202be189ffd349c675b8949ff to your computer and use it in GitHub Desktop.
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