You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/docs/entity/index.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ For more control over an attribute's behavior, you can specify an object as the
85
85
| prefix |`string`|`string`| A prefix to be added to an attribute when saved to DynamoDB. This prefix will be removed when parsing the data. |
86
86
| suffix |`string`|`string`| A suffix to be added to an attribute when saved to DynamoDB. This suffix will be removed when parsing the data. |
87
87
| transform |`function`| all | A function that transforms the input before sending to DynamoDB. This accepts two arguments, the value passed and an object containing the data from other attributes. |
88
-
| format |`function`| all | A function that transforms the DDB output before sending it to the parser. This accepts two arguments, the value of the attribute and an object containing the whole item. |
88
+
| format |`function`| all | A function that transforms the DynamoDB output before sending it to the parser. This accepts two arguments, the value of the attribute and an object containing the whole item. |
89
89
| partitionKey |`boolean` or `string`| all | Flags an attribute as the 'partitionKey' for this Entity. If set to `true`, it will be mapped to the Table's `partitionKey`. If set to the name of an **index** defined on the Table, it will be mapped to the secondary index's `partitionKey`|
90
90
| sortKey |`boolean` or `string`| all | Flags an attribute as the 'sortKey' for this Entity. If set to `true`, it will be mapped to the Table's `sortKey`. If set to the name of an **index** defined on the Table, it will be mapped to the secondary index's `sortKey`|
0 commit comments