Skip to content

1.0.0-draft.14

Compare
Choose a tag to compare
@kiaking kiaking released this 31 May 07:19
· 35 commits to master since this release

Bug Fixes

  • decorator: export HasManyBy decorator (#71) (08c1b4f)

Features

Breaking Changes

  • All persistent methods are now synchronous. Not async anymore.
  • All persistent methods returns either Model or Model[].
  • The save method is the only method that normalizes the given data. insert, fresh, update will not normalize data anymore.
  • Removing add, revise, replace method. Use insert, update, fresh instead.
  • the update method now only works with query constraints. userRepo.where('name', 'John').update({ name: 'Jane' }).