Commit Graph

61 Commits

Author SHA1 Message Date
Raymond Feng 97c9d54c43 Add tests for propagating a transaction over relations 2015-05-15 16:59:59 -07:00
Raymond Feng 8815e9c961 Add transaction support 2015-05-15 10:27:08 -07:00
Raymond Feng 2cb0f5280a Make sure invalid fields are filtered out 2015-05-13 15:03:49 -07:00
Raymond Feng a20fa8ada8 Refactor base and sql connector 2015-05-13 10:14:44 -07:00
Raymond Feng 0889ae40dc Make sure callback happens if a model is not attached to the data source 2014-10-13 09:47:11 -07:00
Raymond Feng 0a62bffafb Fix updateAttributes impl
See https://github.com/strongloop/loopback-connector-mysql/issues/40
2014-06-20 21:13:10 -07:00
Raymond Feng 614ac2b419 Fix style to pass jlint 2014-06-18 22:35:52 -07:00
Raymond Feng b4a45603cb Add space 2014-06-18 22:29:34 -07:00
Raymond Feng 7d6f0f5ab9 Add bulk update support 2014-06-18 22:24:55 -07:00
Raymond Feng 1553452346 Fix the count() impl to use buildWhere() from the subclass 2014-06-03 07:59:27 -07:00
Miroslav Bajtoš 48884f7b79 Initial implementation.
Add `lib/connector.js` and `lib/sql.js` from
strongloop/loopback-datasource-juggler@5937f0c.

Export both classes from `index.js`

Rename `BaseSQL` to `SqlConnector`.

Fix jshint errors.
2014-05-23 15:44:41 +02:00