Skip to content

2.0.1

Choose a tag to compare

@BJNSTNKVC BJNSTNKVC released this 17 Sep 08:28
· 12 commits to master since this release

Fixed

  • where, orWhere, whereNot, having and orHaving now keep an explicit operator when the value passed is undefined. Previously where('role', '!=', undefined) was read as role = '!='.

Changed

  • Operators are now type checked. where, having, whereColumn, join, leftJoin, rightJoin and Join.on suggest the supported operators, and a call with an unsupported operator, or one typed as a plain string, no longer compiles.
  • The README now covers events and the query log in separate sections, with a table listing every event key, its class and the properties it carries.