Commit Graph

28 Commits

Author SHA1 Message Date
Samarpan Bhattacharya a3b354b7f4 feat: add support for multiple insert in one query
BREAKING CHANGE
drop nodejs v12 support and juggler v3 support

Signed-off-by: Samarpan Bhattacharya <this.is.samy@gmail.com>
2023-01-06 08:25:20 -08:00
Akshat Dubey bb6010ad01 feat(operators): add match against operator
Signed-off-by: Akshat  Dubey <akshat.dubey@sourcefuse.com>
2021-10-16 18:20:56 +05:30
Miroslav Bajtoš 7ce66b5b81
update eslint + config to latest
Also fix linting errors, most notably get rid of `var` keyword.

Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2020-08-28 08:43:09 +02:00
Diana Lau 2bb2f8d51f chore: update copyrights year 2020-02-08 17:23:33 -05:00
jannyHou 01c94b6a60 feat: run shared tests 2019-07-09 11:35:59 -04:00
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