Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-german committed Oct 1, 2023
1 parent c0b9422 commit e48b10d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ const update = {
':orders': 5
}
}
...
```
```
# To this:
```typescript
await tinymo.update('users', { id: 'bob' }).set('orders', 5).condition('age', '>=', 18).run();
tinymo.update('users', { id: 'bob' }).set('orders', 5).condition('age', '>=', 18)
```

# Installation
Expand Down

0 comments on commit e48b10d

Please sign in to comment.