Commit Graph

88 Commits

Author SHA1 Message Date
Raymond Feng c85c3b91e9 Tidy up where for relations 2016-03-22 22:44:46 -07:00
Raymond Feng f9cdbafcdc Merge branch 'query-relations' of https://github.com/DiogoDoreto/loopback-connector into DiogoDoreto-query-relations 2016-03-22 13:31:51 -07: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
Diogo Doreto 7b305b4920 Add support to n:m relations 2015-11-22 21:44:14 -02: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
Diogo Doreto aa396620fa Allow sorting on relations' columns 2015-11-13 11:13:29 -02:00
Diogo Doreto ec0a990a2b Add compatibility with Node v0.12
Node v0.12 doesn't have the Object.assign function
2015-11-13 10:08:03 -02:00
Diogo Doreto 68264d59ab Add documentation to SQLConnector.prototype.buildJoins 2015-11-11 15:47:26 -02:00
Diogo Doreto 7ac15dae0c New SQLConnector.prototype.buildCount with support to querying relations
Extracted SQLConnector.prototype.buildCount from
SQLConnector.prototype.count to better test the built SQL.
2015-11-11 15:38:52 -02:00
Diogo Doreto ad62d8cc32 Fix existing tests to reflect the new `table`.`column` pattern 2015-11-11 15:08:19 -02: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
Diogo Doreto 12247a3cb3 Tests! 2015-10-17 23:44:07 -03:00
Diogo Doreto f05443036e Fix parameterize bug 2015-10-17 23:42:46 -03:00
Diogo Doreto 6ff67b6bfc First working prototype 2015-10-16 01:55:34 -03: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