Commit Graph

16 Commits

Author SHA1 Message Date
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