Skip to content

Commit b29f88f

Browse files
authored
docs(table): add a note regarding empty values to removeNullAttrs
1 parent f0ae165 commit b29f88f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/table/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const MyTable = new Table({
3333
| indexes | `object` | no | Complex type that optionally specifies the name keys of your secondary indexes (see below) |
3434
| autoExecute | `boolean` | no | Enables automatic execution of the DocumentClient method (default: `true`) |
3535
| autoParse | `boolean` | no | Enables automatic parsing of returned data when `autoExecute` is `true` (default: `true`) |
36-
| removeNullAttributes | `boolean` | no | Removes null attributes instead of setting them to `null` (default: `true`) |
36+
| removeNullAttributes | `boolean` | no | Removes null and empty (e.g. `''`) attributes instead of setting them to `null` (default: `true`) |
3737
| DocumentClient | `DocumentClient` | \* | A valid instance of the AWS [DocumentClient](https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB/DocumentClient.html) |
3838

3939
\* _A Table can be instantiated without a DocumentClient, but most methods require it before execution_

0 commit comments

Comments
 (0)