Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mindler-olli committed Mar 19, 2024
1 parent 91dbda2 commit 961053d
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,30 @@ await tsynamoClient

## Delete item

WIP
### Simple delete item

```ts
await tsynamoClient
.deleteItem("myTable")
.keys({
userId: "123",
eventId: 313,
})
.execute();
```

### Simple delete item with ConditionExpression

```ts
await tsynamoClient
.deleteItem("myTable")
.keys({
userId: "123",
eventId: 313,
})
.conditionExpression("eventType", "attribute_not_exists")
.execute();
```

## Update item

Expand Down

0 comments on commit 961053d

Please sign in to comment.