- Fix AppVeyor badge and link
- Move query building to SqlBuilder
- Add QueryLogger
- Make Db extend Emitter and emit DbEvent events
- Replace lodash.chunk with simpler custom function
- Properly close ssh connections, even after errors
- Improve docs on Db.withInstance()
- Tweak error behavior of Db.withInstance()
- Add Db.withInstance()
- Switch from travis to appveyor
- Upgrade ssh2 to version 1.x; see ssh2's changelog
- Use jsdoc to generate documentation
- Allow limit and offset to use placeholders
- Support LIKE with array. e.g.
query.where('foo', 'LIKE %?%', ['bar','baz'])
- Update dependencies
- Update withChildData to set empty fields to
[]
instead ofundefined
- Update dependencies
- Update Error.name to 'MySQLError'
- Add support for composite keys to DataBroker
- Update errors to provide more info including SQL that caused error
- Updated dependencies
- Add Db.exportToSql() function
- Updated dependencies
- Ignore undefined values on inserts and updates
- Update dependencies
- Initial release