Skip to content

v4.4.5

Choose a tag to compare

@github-actions github-actions released this 11 Nov 17:14
· 6 commits to main since this release

Fixes

  • With skipUndefined(), an undefined id made deleteById() delete every row of the table, and patchAndFetchById() and updateAndFetchById() update every row: the methods left out their only condition, the id. findById() returned an arbitrary row. An undefined id now throws "undefined was passed to ..." with or without skipUndefined(), as it already did without it. Inherited from objection.js (3.1.5 does the same).