Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@kylefarris kylefarris released this 01 Feb 15:54
· 25 commits to master since this release

This release provides support for MS SQL through the tedious driver.

Breaking Changes

  • Changed the Query Builder instantiation syntax
  • Passing an empty array to where_in and where_not_in no longer throws an error (#34)

General Enhancements/Changes/Features

  • Added mssql (t-sql) support using tedious as the underlying driver
  • Updated class files to use new ES6 class syntax for easier-maintainability
  • Added new options:
    • pool_min (minimum number of pooled connections (mssql driver only))
    • acquireTimeout (milliseconds before a timeout occurs during the connection acquisition)
  • Added new query building method: returning() to allow for insert IDs to be returned. See docs for more info.
  • Added new tests

Bug Fixes