Skip to content

Commit

Permalink
chore: document upsert
Browse files Browse the repository at this point in the history
  • Loading branch information
markwylde committed Dec 23, 2024
1 parent 7ec3448 commit 86658f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ doubledb.find('firstName', v => v.startsWith('J'), { skip: 20, gt: 'J', lt: 'K'
doubledb.filter('firstName', 'Joe');
doubledb.filter('firstName', v => v.startsWith('J'));
doubledb.filter('firstName', v => v.startsWith('J'), { limit: 10, skip: 20, gt: 'J', lt: 'K' });
doubledb.upsert(record.id, { firstName: 'Joe', lastName: 'Bloggs' });
doubledb.replace(record.id, { firstName: 'Joe', lastName: 'Bloggs' });
doubledb.patch(record.id, { firstName: 'Bob' });
doubledb.remove(record.id);
Expand Down

0 comments on commit 86658f7

Please sign in to comment.