Commit Graph

30 Commits

Author SHA1 Message Date
Miroslav Bajtoš 2868eaeda2 Merge pull request #8 from strongloop/fix/handling-of-dynamic-properties
Fix crash in `id(model, prop)`
2015-01-28 19:56:09 +01:00
Miroslav Bajtoš 1eb6d79b97 Fix crash in `id(model, property)`
Before this change, an attempt to save a model instance with a dynamic
property to a MySQL datasource crashed the application.

This commit fixes the implementation of `id(model, property)` to
correctly handle the case when the property is not described in the
model definition.
2015-01-28 11:38:11 +01:00
Ryan Graham f58d3c82e3 Fix bad CLA URL in CONTRIBUTING.md 2014-12-29 08:27:46 -08:00
Raymond Feng 9278a608ce Merge tag 'v1.2.0'
1.2.0
2014-10-13 09:50:44 -07:00
Raymond Feng 34528808ee Merge branch 'release/1.2.0' into production 2014-10-13 09:50:30 -07:00
Raymond Feng d9adf3e365 Bump version 2014-10-13 09:48:52 -07:00
Raymond Feng 99f3b96c66 Merge pull request #5 from strongloop/feature/fix-automigrate-callback
Make sure callback happens if a model is not attached to the data source
2014-10-13 09:47:48 -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
Ryan Graham f1c3d01004 Update contribution guidelines
Replace commit signing process with https://cla.strongloop.com/
2014-10-01 18:06:58 -07:00
Raymond Feng 3d356c579c Merge tag 'v1.1.1'
1.1.1
2014-07-20 13:55:10 -07:00
Raymond Feng 0fa0c13533 Merge branch 'release/1.1.1' into production 2014-07-20 13:55:05 -07:00
Raymond Feng 4913b868c5 Bump version 2014-07-20 13:54:25 -07:00
Raymond Feng f8074f87f4 Merge pull request #4 from strongloop/feature/fix-update-attrs
Fix updateAttributes impl
2014-07-20 13:53:38 -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 2654360532 Merge tag 'v1.1.0'
1.1.0
2014-06-20 13:42:02 -07:00
Raymond Feng 5ec091597c Merge branch 'release/1.1.0' into production 2014-06-20 13:41:56 -07:00
Raymond Feng 2fadea3f42 Bump version 2014-06-18 22:52:47 -07:00
Raymond Feng d1508b4504 Merge pull request #3 from strongloop/feature/fix-count
Fix the count() impl to use buildWhere() from the subclass
2014-06-18 22:50:49 -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š b2520029bf Merge tag 'v1.0.0'
v1.0.0
2014-06-03 08:40:51 +02:00
Miroslav Bajtoš 17984a5a8c Merge branch 'release/1.0.0' into production 2014-06-03 08:40:45 +02:00
Miroslav Bajtoš 2efe31d763 1.0.0 2014-06-03 08:40:17 +02:00
Miroslav Bajtoš d6d348fccd Merge pull request #2 from strongloop/feature/refactor-connector-base
Initial implementation.
2014-06-03 08:22:54 +02:00
Miroslav Bajtoš 96d3332165 fixup: add a stub test 2014-05-23 19:18:11 +02: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
Miroslav Bajtoš 2a2d11db0a Initial commit. 2014-05-23 15:44:15 +02:00
Miroslav Bajtoš 186435db67 Initial commit. 2014-05-23 10:31:19 +02:00