Skip to content

Commit

Permalink
prettier:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joseffffff committed May 31, 2024
1 parent e631c14 commit 69694a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ Updates the row in the specified sheet matching by id. All values are replaced w
const myEntities: YourEntity[] = await orm.all();

const entityToUpdate: YourEntity = myEntities.find(e => e.id === '1111-2222-3333-4444');
entityToUpdate.name = 'Updated name'
entityToUpdate.name = 'Updated name';

await orm.update(entityToUpdate);
```
Expand All @@ -203,7 +203,7 @@ const entitiesToUpdate: YourEntity[] = myEntities.filter(e => e.shouldBeDeleted(

entitiesToUpdate.forEach(entity => {
entity.name = 'Updated Name';
})
});

await orm.updateAll(entitiesToUpdate);
```
Expand Down

0 comments on commit 69694a4

Please sign in to comment.