Commit Graph

23 Commits

Author SHA1 Message Date
Agnes Lin a12558e8a4 chore: update copyrights years 2019-05-07 13:37:19 -04:00
biniam ad44168d4a isNewInstance undefined for after save hook
Since using REPLACE or INSERT...ON DUPLICATE KEY
statements both give us affected rows of 1 for a
new row or a row which got updated with the same
values, we make isNewInstance undefined on after
save hook for save, replaceOrCreate, and
updateOrCreate methods. Also, disable juggler
tests for that functionality.
2017-07-26 22:21:06 -04:00
biniam 7a7a34e77f upgrade eslint deps 2017-07-25 15:41:11 -04:00
biniam 134eeb24e2 Handle null vals properly
When converting null values
to database column values,
return null if column is
nullable, otherwise try
to cast it to the property
type, and if not, return
'null'.
2017-06-14 12:44:25 -04:00
ssh24 145d061e94 Allow case sensitive regex operation 2017-06-13 10:18:27 -04:00
Loay 6100a62461 Add CI fixes (#197) 2016-09-28 13:32:38 -07:00
Miroslav Bajtoš a9dc15c180 Explictly set forceId:false in test model 2016-09-05 16:01:31 +02:00
Loay 9c9b61e7dc Update eslint infrastructure 2016-08-10 20:04:26 -04:00
Ryan Graham 340a4eb0f6
insert/update copyright notices 2016-05-03 16:52:03 -07:00
Amir Jafarian f572f920a4 Implement ReplaceOrCreate 2016-01-15 19:12:38 -05:00
Simon Ho a1d78229f5 Clean up regexop tests 2015-07-29 09:46:51 -07:00
Simon Ho 1a8fb3b9fe Add regexp operator tests 2015-07-29 09:31:24 -07:00
Simon Ho 31671b5c25 Fix RegExp unit test setup/teardown 2015-07-28 17:55:27 -07:00
Simon Ho 22bebe3c4a Add support for RegExp operator 2015-07-28 17:24:31 -07:00
Raymond Feng 634a0a94bc Allow models backed by MySQL to reference mongodb ObjectID 2015-03-04 22:55:33 -08:00
Raymond Feng 2422c4c6f0 Update deps 2015-02-20 16:15:15 -08:00
yogesh 6d5ad5e470 (cherry picked from commit a6d31e8) 2014-10-21 11:51:45 +05:30
Raymond Feng 5236cfeeca Fix the test cases as now inq/nin is checked for array values 2014-06-26 23:48:48 -07:00
Raymond Feng 5542839c3e Map object/json to TEXT
See https://github.com/strongloop/loopback-connector-mysql/issues/36
2014-06-06 09:38:36 -07:00
Raymond Feng 51bf6e1034 Fix sql injection and add test cases 2014-05-30 15:15:27 -07:00
Anatoliy Chakkaev e2d41d3dd3 Mass-runner friednly test 2013-04-08 02:00:16 +04:00
Anatoliy Chakkaev b6f0c2cfc8 Split test cases 2013-04-08 01:53:55 +04:00
Anatoliy Chakkaev 9f063c13c5 Moved to mocha 2013-03-27 04:37:13 +04:00