File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
mug-guava/src/main/java/com/google/mu/safesql Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -734,11 +734,11 @@ public <T> List<T> query(
734734 *
735735 * <p>The returned {@code Stream} includes results transformed by {@code rowMapper}.
736736 * The caller must close it using try-with-resources idiom, which will close the associated
737- * statement and {@link ResultSet}.
737+ * {@link Statement} and {@link ResultSet}.
738738 *
739739 * <p>For example: <pre>{@code
740740 * SafeSql sql = SafeSql.of("SELECT name FROM Users WHERE name LIKE '%{name}%'", name);
741- * try (Stream<String> names = sql.query (connection, row -> row.getLong("id"))) {
741+ * try (Stream<String> names = sql.queryLazily (connection, row -> row.getLong("id"))) {
742742 * return names.findFirst();
743743 * }
744744 * }</pre>
You can’t perform that action at this time.
0 commit comments