diff --git a/README.md b/README.md index e00f69c..45fede5 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,14 @@ @Select(sql = "select * from users where id = ?") public User findById(int id); - } + } ``` Use ```java UserRepository repository = StormRepository.newInstance(UserRepository.class); + List users = repository.fetchAll(); User user = repository.findById(12);