Commit Graph

189 Commits

Author SHA1 Message Date
Raymond Feng 931454cb57 Merge pull request #29 from strongloop/feature/fix-object-mapping
Fix object/json type mapping
2014-05-29 15:45:38 -07:00
Raymond Feng b9e4b64848 Fix the varchar length 2014-05-29 15:45:25 -07:00
Raymond Feng a41c7f5c7a Add like/nlike support 2014-05-29 15:16:14 -07:00
Raymond Feng 33b86b51b2 Fix object/json type mapping 2014-05-25 09:46:55 -07:00
Raymond Feng 649b2f125d Merge tag 'v1.2.1'
1.2.1
2014-05-16 10:12:19 -07:00
Raymond Feng 1c8bfa5af6 Merge branch 'release/1.2.1' into production 2014-05-16 10:12:13 -07:00
Raymond Feng 0910d2aee9 Bump versions 2014-05-16 09:59:39 -07:00
Raymond Feng a3ffac0a55 Merge pull request #27 from strongloop/feature/logical-operator
Feature/logical operator
2014-05-16 09:42:44 -07:00
Raymond Feng 7332f12972 Fix buildWhere 2014-05-15 10:32:31 -07:00
Raymond Feng 1103a9e919 Add support for logical operators (AND/OR) 2014-05-14 21:21:00 -07:00
Raymond Feng a170621e1c Merge pull request #25 from sra/master
updateOrCreate assumes numeric primary key(s)
2014-04-16 15:59:21 -07:00
Scott Anderson 0a619fb263 updateOrCreate assumes numeric primary key(s)
I removed the check to see if a property is an ID field while building the
values clause to allow it to work if primary key(s) are strings.
2014-04-16 16:37:28 -04:00
Raymond Feng 3f62731d02 Merge tag 'v1.2.0'
1.2.0
2014-04-08 10:50:17 -07:00
Raymond Feng a6c2299637 Merge branch 'release/1.2.0' into production 2014-04-08 10:50:11 -07:00
Raymond Feng 159642e24a Bump version 2014-04-08 10:49:29 -07:00
Raymond Feng 99f9151d4f Merge pull request #21 from strongloop/feature/fix-string-id
Fix the table generation for string ids
2014-04-08 10:48:20 -07:00
Raymond Feng 3165cb8bcd Remove the commented out code 2014-04-08 10:47:00 -07:00
Raymond Feng 296065d7fb Merge pull request #23 from strongloop/feature/fix-issue-22
Fix the query for discovery with current user
2014-04-08 10:20:29 -07:00
Raymond Feng b0f636a4c4 Fix the query for discovery with current user
See https://github.com/strongloop/loopback-connector-mysql/issues/22
2014-04-08 08:35:39 -07:00
Raymond Feng fa003bb267 Fix the table generation for string ids 2014-04-07 22:16:26 -07:00
Raymond Feng f6a370921d Merge pull request #19 from vectart/master
Prevent inserting undefined values
2014-03-21 08:46:09 -07:00
Raymond Feng 4627bc40da Update deps 2014-03-21 08:35:17 -07:00
Raymond Feng 8f5b09ba64 Use NULL for undefined 2014-03-21 08:35:04 -07:00
Marat Dyatko 91116f32db Prevent inserting undefined values
The following SQL query was executed:

INSERT INTO `cv` (`first_name`, `last_name`, `father_name`, `city`, `district`, `transfer`, `nationality`, `email`, `icq`, `skype`, `birth_date`, `marital_status`, `gender`, `children_status`, `id`) VALUES ('asdsd', , , '', '', , , 'i@marat.by', , , , , , , 2) ON DUPLICATE KEY UPDATE `first_name` = 'asdsd', `last_name` = undefined, `father_name` = undefined, `city` = '', `district` = '', `transfer` = undefined, `nationality` = undefined, `email` = 'i@marat.by', `icq` = undefined, `skype` = undefined, `birth_date` = undefined, `marital_status` = undefined, `gender` = undefined, `children_status` = undefined;
2014-03-08 19:44:49 +01:00
Raymond Feng 177207d6a5 Update to dual MIT/StrongLoop license 2014-02-17 16:35:08 -08:00
Raymond Feng 1e73a4b496 Fix merge issue 2014-02-13 08:35:52 -08:00
Raymond Feng e54aa56cee Reformat code 2014-02-12 16:57:06 -08:00
Raymond Feng 59676592e0 Merge pull request #18 from eldefay/patch-1
Update discovery.js
2014-02-11 08:52:59 -08:00
Samer Aldefai 3a06e0eae1 Update discovery.js
The issue is with the Discovery of Models. MYSQL Fields of Type 'POINT' are being discovered but loopback LDL model field provided by discovery functions is being of type 'String'.

missing code: case 'POINT': return 'GeoPoint';

for further information:
https://github.com/strongloop/loopback-connector-mysql/issues/17
2014-02-07 18:12:07 +01:00
Rand McKinney 51a851469f Fix link to docs. 2014-01-09 16:48:24 -08:00
Rand McKinney aa2184de29 Replaced most content with link to docs. 2014-01-09 16:40:11 -08:00
Ryan Graham 23e42e7bb1 Merge pull request #12 from strongloop/feature/green-ci
Make things work better on CI
2013-12-13 10:59:28 -08:00
Ryan Graham a6debbcf13 Move mocha args to test/mocha.opts 2013-12-13 10:27:33 -08:00
Ryan Graham d5f6bf3a6f Make 'npm test' more useful to CI 2013-12-13 10:25:53 -08:00
Ryan Graham 065aaf0ece Prevent extra files from going into npm 2013-12-13 10:25:53 -08:00
Raymond Feng 31d8b891ff Merge tag 'v1.1.1'
1.1.1
2013-12-06 10:37:26 -08:00
Raymond Feng c221713aad Merge branch 'release/1.1.1' into production 2013-12-06 10:37:20 -08:00
Raymond Feng 588d13d37f Bump version 2013-12-06 10:36:25 -08:00
Raymond Feng 889045f1c0 Merge pull request #14 from strongloop/feature/juggler-dep
Update deps for juggler
2013-12-06 10:29:37 -08:00
Raymond Feng d53c1d4ebf Update deps 2013-12-06 10:13:49 -08:00
Raymond Feng 7b497b9a2e Merge pull request #13 from strongloop/feature/discovery-test
Feature/discovery test
2013-12-06 08:25:34 -08:00
Raymond Feng e16e67568c Add the test for loopback-datasource-juggler PR-48
https://github.com/strongloop/loopback-datasource-juggler/pull/48
2013-12-05 16:09:15 -08:00
Raymond Feng ae488942bb Fix the orderBy 2013-12-05 16:08:32 -08:00
Raymond Feng 079e95d89e Merge tag 'v1.1.0'
1.1.0
2013-11-27 09:48:45 -08:00
Raymond Feng 8201851b27 Merge branch 'release/1.1.0' into production 2013-11-27 09:48:31 -08:00
Raymond Feng c7967f8825 Bump version 2013-11-27 09:46:51 -08:00
Raymond Feng 76d7f71766 Merge pull request #11 from strongloop/feature/connection-pool
Feature/connection pool
2013-11-27 09:44:19 -08:00
Raymond Feng 22b9e78692 Refactor the runQuery logic into a function 2013-11-27 09:08:03 -08:00
Raymond Feng f171e74392 Improve the connector based on review feedbacks
Introduce a 'createDatabase' option to allow DB to created
Wrap the callback with connection.release
Fix typo
2013-11-27 08:42:40 -08:00
Raymond Feng aac933c39d Allow connectionLmit to be set 2013-11-26 18:50:56 -08:00