Skip to content

Commit

Permalink
docs(table): add a note regarding empty values to removeNullAttrs
Browse files Browse the repository at this point in the history
  • Loading branch information
naorpeled committed Jun 30, 2023
1 parent f0ae165 commit b29f88f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/table/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const MyTable = new Table({
| indexes | `object` | no | Complex type that optionally specifies the name keys of your secondary indexes (see below) |
| autoExecute | `boolean` | no | Enables automatic execution of the DocumentClient method (default: `true`) |
| autoParse | `boolean` | no | Enables automatic parsing of returned data when `autoExecute` is `true` (default: `true`) |
| removeNullAttributes | `boolean` | no | Removes null attributes instead of setting them to `null` (default: `true`) |
| removeNullAttributes | `boolean` | no | Removes null and empty (e.g. `''`) attributes instead of setting them to `null` (default: `true`) |
| DocumentClient | `DocumentClient` | \* | A valid instance of the AWS [DocumentClient](https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB/DocumentClient.html) |

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

0 comments on commit b29f88f

Please sign in to comment.