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 @@ -114,7 +114,7 @@ SafeSql query = SafeSql.of(
114114
115115Highlights:
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:
130130statement. 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
135135The template will pass all unquoted placeholders as JDBC parameters and JDBC will reject
136136them in the place of columns.
You can’t perform that action at this time.
0 commit comments