Commit Graph

23 Commits

Author SHA1 Message Date
biniam 95b907b157 fix: make prop def getter backward-compatible
Return early for non-nested properties as before,
and undefined instead of erroring out when the
property type is undefined.
2019-02-22 22:46:38 -05:00
Piero Maltese 30c32b58d3 feat: retrieve nested property definitions 2019-02-15 14:20:01 -05:00
Miroslav Bajtoš 284e0111b7
Update Mocha and Chai to latest 2018-06-12 16:44:24 +02:00
Miroslav Bajtoš a695cb22e1
Update eslint + config to latest 2018-06-12 16:33:52 +02:00
Jürg Lehni e253d39901 Add support for transactions in count() 2017-08-23 16:35:19 +02:00
Diana Lau 5a00628526 Fix transaction 2017-07-14 11:24:08 -04:00
Raymond Feng e77b300384 Update deps and fix styles 2017-03-06 15:40:47 -08:00
Masu Lin d45aaec5ef Add JSONStringPacker
Add a helper for encoding JavaScript values into JSON String format.

The implementation is based on JSON String format
and preserves JavaScript objects like Buffers
and Dates, as opposed to encoding format.
2016-10-29 00:20:34 +08:00
Miroslav Bajtoš 512ff29aa9 Increase delay in tests to stop intermittent fails 2016-10-24 10:05:25 +02:00
Miroslav Bajtoš 6fd3ac7285 Add BinaryPacker from kv-redis connector
Add a helper for encoding JavaScript values into binary Buffers.

The implemenetation is based on msgpack5 format and preserves JavaScript
objects like Buffers and Dates, as opposed to (binary)JSON.
2016-10-24 09:58:04 +02:00
Miroslav Bajtoš 2cbc1143c1 Add ModelKeyComposer from kv-redis connector
Add two helper methods for composing and parsing key-value keys:
 - in juggler, we use (modelName, key) tuple
 - in backends, there is usually a single string key required
2016-10-24 09:58:04 +02:00
Ryan Graham 958c6619e3
update copyright notices and license 2016-05-05 21:50:59 -07:00
Amir Jafarian 70277da109 Fix linting errors 2016-04-11 13:06:33 -04:00
Amir Jafarian fc33ced470 Auto-update by eslint --fix 2016-04-09 14:35:52 -04: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 50ac48c5f7 Add hooks to sql based connectors 2015-05-22 09:03:27 -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 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 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
Miroslav Bajtoš 96d3332165 fixup: add a stub test 2014-05-23 19:18:11 +02:00