Skip to content

Wooah! We have got new relationship helper methods

Compare
Choose a tag to compare
@thetutlage thetutlage released this 04 Aug 09:14

Finally, the support for whereHas, has and withCount methods has been added to model query builder. The idea is to limit the parent rows based upon the existence of relationship. Docs will cover more about the usage

  • test: fix breaking tests 6175dbb
  • style: fix eslint errors 963b903
  • fix(migrator): getList method create schema table when missing d982261
  • feat: add support for has and whereHas methods b159609
  • fix: db credentials in .env file af10ecf
  • style: format source files 269697a
  • docs(contributing): fix link to contributing file dc62011
  • feat: allow defining custom alias for the withCount query df61f1d
  • feat: add support for withCount 469f193
  • fix: update method handle use case where values are falsy 232f16a
  • chore: integrate prettier and update source files 1fd882a
  • chore: update dependencies b4a38a3
  • improvement: allow dateTime columns to be optional 853822a

v8.2.2...v8.3.0