removeWhere()

Removes all entities that match the given filter.

// Remove all users older than 15
await removeMany(userTable, {
  where: {
    age: { gt: 15 },
  },
});
Parameter Description
table The table created by createTable() .
filter Only items which match the filter will be removed. See filters.
blinkDB © 2023