Skip to content

Commit

Permalink
use searchTerm in javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
fluentfuture committed Nov 8, 2024
1 parent 4f2a8f8 commit 772d96a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mug-guava/src/main/java/com/google/mu/safesql/SafeSql.java
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
*
* <p>The SafeSql template protects you from this caveat. The most intuitive syntax does exactly
* what you'd expect (and it escapes special characters too): <pre>{@code
* String searchBy = ...;
* String searchTerm = ...;
* SafeSql sql = SafeSql.of(
* "SELECT id FROM Users WHERE firstName LIKE '%{search_term}%'", searchTerm);
* List<Long> ids = sql.query(connection, row -> row.getLong("id"));
Expand Down

0 comments on commit 772d96a

Please sign in to comment.