Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bowbahdoe committed Feb 23, 2024
1 parent ab3b003 commit d809c5a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ These examples use [sqlite](https://central.sonatype.com/artifact/org.xerial/sql

### Select rows by id

Any variables injected into the template will be replaced with `?`s in the
SQL and will be set with `.setObject` on the returned `PreparedStatement`.

```java
import dev.mccue.jdbc.StatementPreparer;
Expand Down Expand Up @@ -86,7 +88,7 @@ void main() throws Exception {
### Inject parameters with custom logic

To inject a parameter that needs to be set with something other than `setObject`,
you can make an instance of `SettableParameter`
you can make an instance of `SettableParameter`.

```java
import dev.mccue.jdbc.SettableParameter;
Expand Down

0 comments on commit d809c5a

Please sign in to comment.