Skip to content

Commit

Permalink
Merge e340b37 into 85b3a16
Browse files Browse the repository at this point in the history
  • Loading branch information
imdkbj committed Sep 14, 2023
2 parents 85b3a16 + e340b37 commit 9e2f20b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs_src/guide/Model.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ The other method you can use is by using specific update types. These update typ

- `$SET` - This method will set the attribute to the new value (as shown above)
- `$ADD` - This method will add the value to the attribute. If the attribute is a number it will add the value to the existing number. If the attribute is a list, it will add the value to the list. Although this method only works for sets in DynamoDB, Dynamoose will automatically update this method to work for lists/arrays as well according to your schema. This update type does not work for any other attribute type.
- `$REMOVE` - This method will remove the attribute from the item. Since this method doesn't require values you can pass in an array of attribute names.
- `$REMOVE` - This method will remove the attribute from the item. Since this method doesn't require values, you can pass in an array of attribute names.
- `$DELETE` - This method will delete one or more elements from a Set.

```js
Expand Down

0 comments on commit 9e2f20b

Please sign in to comment.