Commit Graph

78 Commits

Author SHA1 Message Date
Maor Hayun eba7e68059 fixed build of where statement when filter contains non-existing column 2016-02-06 19:07:49 +02:00
Raymond Feng 26712a7014 Merge pull request #34 from eugene-frb/master
1. Error logging. 2. Options argument of model's include function to …
2015-11-23 15:08:19 -08:00
Raymond Feng cbb25cc37f Merge pull request #30 from mrbatista/typo-transaction
Fixed typo
2015-11-23 15:07:35 -08:00
eugene-frb 0cb12f085b Removed filterWhere option
The correct place to set this option that triggers injection of
PARTITION BY clause is includeHasMany() in juggler.js.
2015-11-19 11:18:17 -08:00
eugene-frb ac52394746 1. Error logging. 2. Options argument of model's include function to pass filter.where object. 2015-11-10 14:48:52 -08:00
Sam Roberts 286ead05af Refer to licenses with a link 2015-11-03 12:27:49 -08:00
Matteo Padovano 89939cff52 Fixed typo. 2015-10-13 12:59:17 +02:00
Sam Roberts 3ba31d9c18 Use strongloop conventions for licensing 2015-09-21 16:42:54 -07:00
Raymond Feng 12aa7d6485 2.3.0
* Fix RegExp coercion (Simon Ho)

 * Add support for RegExp operator (Simon Ho)

 * Add a test for nesting and/or (Raymond Feng)
2015-07-29 07:52:36 -07:00
Simon Ho 1e2d0692b5 Merge pull request #27 from strongloop/fix-regex-coercion
Fix RegExp coercion
2015-07-28 16:48:13 -07:00
Simon Ho 8d01d3e8e2 Fix RegExp coercion
- Do not coerce RegExp literal/objects into a string
2015-07-28 11:58:14 -07:00
Simon Ho 7f76270940 Merge pull request #26 from strongloop/add-regex-support
Add support for RegExp operator
2015-07-27 15:25:11 -07:00
Simon Ho 4437b32e4b Add support for RegExp operator 2015-07-27 09:33:10 -07:00
Raymond Feng 98eeab1044 Add a test for nesting and/or 2015-06-24 23:03:13 -07:00
Raymond Feng 6989cfc5fb 2.2.2
* Enable Inversion of Control in connector hooks through modifications of the context object. (Frank Steegmans)
2015-06-23 14:36:02 -07:00
Raymond Feng 60f0dc2a0c Merge pull request #22 from steegi/enable_ioc_in_hook
Enable Inversion of Control in connector hooks
2015-06-23 14:35:08 -07:00
Frank Steegmans 8762196028 Enable Inversion of Control in connector hooks through modifications of the context object. 2015-06-21 17:54:21 +02:00
Raymond Feng 1996c83d95 2.2.1
* Fix the callback (Raymond Feng)
2015-05-27 13:40:15 -07:00
Raymond Feng 39cb95579a Fix the callback 2015-05-27 13:40:03 -07:00
Raymond Feng 455774e666 2.2.0
* Update deps (Raymond Feng)

 * Add hooks to sql based connectors (Raymond Feng)
2015-05-27 11:19:48 -07:00
Raymond Feng 2fc9258d67 Update deps 2015-05-27 11:19:24 -07:00
Raymond Feng 1644a00f15 Merge pull request #18 from strongloop/feature/add-connector-hooks
Add hooks to sql based connectors
2015-05-26 13:31:43 -07:00
Raymond Feng 50ac48c5f7 Add hooks to sql based connectors 2015-05-22 09:03:27 -07:00
Raymond Feng ceea61e93c 2.1.2
* Fix for https://github.com/strongloop/loopback-connector-mssql/issues/45 (Raymond Feng)

 * Fix the jsdoc for applyPagination (Raymond Feng)
2015-05-22 08:53:18 -07:00
Raymond Feng a5f11ac5f5 Fix for https://github.com/strongloop/loopback-connector-mssql/issues/45 2015-05-22 08:52:40 -07:00
Raymond Feng d930972d3e Fix the jsdoc for applyPagination 2015-05-20 17:20:55 -07:00
Raymond Feng 09fd0ea54f 2.1.1
* Fix for https://github.com/strongloop/loopback-connector-postgresql/issues/80 (Raymond Feng)
2015-05-20 09:21:04 -07:00
Raymond Feng a62e06d367 Fix for https://github.com/strongloop/loopback-connector-postgresql/issues/80 2015-05-20 09:20:35 -07:00
Raymond Feng 5815e79395 2.1.0
* Update sql-connector.md (Rand McKinney)

 * Add tests for propagating a transaction over relations (Raymond Feng)

 * Add transaction support (Raymond Feng)
2015-05-18 14:28:42 -07:00
Raymond Feng 641805ad57 Merge pull request #17 from strongloop/feature/transaction
Add transaction support
2015-05-18 14:20:21 -07:00
Rand McKinney 8b9bdd597f Update sql-connector.md 2015-05-18 09:54:43 -07:00
Rand McKinney 9794179281 Update sql-connector.md 2015-05-18 09:54:19 -07:00
Raymond Feng e33378b5b7 2.0.1
* Replace with link to Confluence (Rand McKinney)

 * Update sql-connector.md (Rand McKinney)
2015-05-18 09:51:49 -07:00
Rand McKinney eef04cdad2 Replace with link to Confluence 2015-05-18 09:49:35 -07:00
Raymond Feng 97c9d54c43 Add tests for propagating a transaction over relations 2015-05-15 16:59:59 -07:00
Rand McKinney 9703372551 Update sql-connector.md 2015-05-15 11:04:52 -07:00
Raymond Feng 8815e9c961 Add transaction support 2015-05-15 10:27:08 -07:00
Raymond Feng 772132497d 2.0.0
* Upgrade deps (Raymond Feng)

 * Make sure invalid fields are filtered out (Raymond Feng)

 * Refactor base and sql connector (Raymond Feng)

 * Update README.md (Paulo McNally)
2015-05-13 16:16:11 -07:00
Raymond Feng 7244cf87cb Upgrade deps 2015-05-13 16:15:47 -07:00
Raymond Feng 2cb0f5280a Make sure invalid fields are filtered out 2015-05-13 15:03:49 -07:00
Raymond Feng da64cea7c4 Merge pull request #16 from strongloop/feature/connector-refactor
Refactor base Connector and SqlConnector
2015-05-13 11:10:59 -07:00
Raymond Feng a20fa8ada8 Refactor base and sql connector 2015-05-13 10:14:44 -07:00
Raymond Feng e11c1c9b92 Merge pull request #9 from paulomcnally/patch-1
Update README.md
2015-02-18 23:29:23 -08:00
Paulo McNally 169c396543 Update README.md 2015-02-19 00:08:48 -06:00
Miroslav Bajtoš 97598bb7cb Merge tag 'v1.2.1'
1.2.1

 * package: add jshint to devDependencies (Miroslav Bajtoš)

 * Fix crash in `id(model, property)` (Miroslav Bajtoš)

 * Fix bad CLA URL in CONTRIBUTING.md (Ryan Graham)
2015-01-28 19:58:02 +01:00
Miroslav Bajtoš bd7cdb6f6d Merge branch 'release/1.2.1' into production 2015-01-28 19:57:59 +01:00
Miroslav Bajtoš d519a360d8 v1.2.1 2015-01-28 19:57:57 +01:00
Miroslav Bajtoš e9b3e2d55c package: add jshint to devDependencies 2015-01-28 19:57:37 +01:00
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