AWS amazondynamodb documentation change
Summary
Added documentation note about escaping single quotes in PartiQL string literals using consecutive single quotes instead of backslashes
Security assessment
Change addresses syntax validation for string literals without any security implications. Focuses on proper query formatting to avoid validation errors.
Diff
diff --git a/amazondynamodb/latest/developerguide/ql-reference.data-types.md b/amazondynamodb/latest/developerguide/ql-reference.data-types.md index 0af594872..49f311c2d 100644 --- a//amazondynamodb/latest/developerguide/ql-reference.data-types.md +++ b//amazondynamodb/latest/developerguide/ql-reference.data-types.md @@ -24,0 +25,4 @@ DynamoDB data type | PartiQL representation | Notes +###### Note + +To include a literal single quote (`'`) within a String value, escape it by using two consecutive single quotes (`''`). For example, the string `it's here` is written as `'it''s here'`. A backslash (`\`) does not escape a single quote in PartiQL for DynamoDB; using one results in a validation error. +