Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

v0.14.0 & v0.0.3@react

Latest

Choose a tag to compare

@maradotwebp maradotwebp released this 19 Oct 19:46
· 3 commits to main since this release

BREAKING CHANGES

removeMany now returns the number of items deleted, not a boolean that states whether all items have been deleted.

If you still need to check whether all entities you provided have been deleted, you can rewrite your removeMany calls.

Before:

const allEntitiesDeleted = await removeMany(table, [{ id: "0" }, { id: "1" }]);

After:

const items = [{ id: "0" }, { id: "1" }];
const numDeleted = await removeMany(table, items);
const allEntitiesDeleted = numDeleted === items.length;

What's Changed

  • missing keys in removeWhere is no-op by @retorquere in #30
  • Changed removeMany to return number of items deleted

New Contributors

Full Changelog: v0.13.3...v0.14.0

Morty Proxy This is a proxified and sanitized view of the page, visit original site.