Skip to content

Commit fd8754d

Browse files
committed
fix backticks
1 parent bb7337d commit fd8754d

File tree

1 file changed

+2
-2
lines changed
  • mug-guava/src/main/java/com/google/mu/safesql

1 file changed

+2
-2
lines changed

mug-guava/src/main/java/com/google/mu/safesql/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ SafeSql query = SafeSql.of(
114114

115115
Highlights:
116116

117-
-**Identifier safety**: ````{columns}```` only accepts safe column names (strict validation).
117+
-**Identifier safety**: `````{columns}````` only accepts safe column names (strict validation).
118118
-**LIKE safety**: auto-escapes `%`, `_`, and `\` for pattern queries.
119119
-**Compile-time template checks**: mismatched parameters? Compilation fails.
120120

@@ -130,7 +130,7 @@ And parameters:
130130
statement.setObject(1, "%100\\%%")
131131
```
132132

133-
What if you forgot to quote the `{columns}` placeholder with raw string?
133+
What if you forgot to quote the `{columns}` placeholder with backticks?
134134

135135
The template will pass all unquoted placeholders as JDBC parameters and JDBC will reject
136136
them in the place of columns.

0 commit comments

Comments
 (0)