Skip to content

Commit 3185106

Browse files
committed
Style README.md
1 parent 7d3bd4f commit 3185106

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Execute 1000 SELECT statements against a DB and map the data returned to a POJO.
2929
If any plugin requires a DataManager you just need to download and install it. Usually it will be enough. Also, you can
3030
configure some database settings in config.yml file, that plugin will create in `plugins` folder.
3131

32-
## How to create your JDBI database
32+
## How to create your Sql2o database
3333

3434
Firstly we recommend to read [*Sql2o Documentation*](https://www.sql2o.org)
3535

@@ -72,8 +72,8 @@ import me.hteppl.data.Database;
7272
public class Main {
7373

7474
public static void main(String[] args) {
75-
MyDatabase db = new MyDatabase();
76-
db.getHandle().createQuery(...);
75+
Database db = new MyDatabase();
76+
db.getConnection().createQuery(...);
7777
}
7878
}
7979
```

0 commit comments

Comments
 (0)