Commit Graph

565 Commits

Author SHA1 Message Date
Raymond Feng 347b0a105e Bump version 2014-06-27 10:28:30 -07:00
Raymond Feng ebec74d4fe Merge pull request #41 from strongloop/feature/query-order
Fix the test cases as now inq/nin is checked for array values
2014-06-27 10:27:00 -07:00
Raymond Feng 5236cfeeca Fix the test cases as now inq/nin is checked for array values 2014-06-26 23:48:48 -07:00
Rand McKinney 61ede028f0 Update link to doc 2014-06-24 16:20:19 -07:00
Raymond Feng f96ea91703 Merge tag 'v1.4.0'
1.4.0
2014-06-23 10:24:48 -07:00
Raymond Feng 161fa5927e Merge branch 'release/1.4.0' into production 2014-06-23 10:24:44 -07:00
Raymond Feng 7c16481f9e Bump version 2014-06-23 10:24:06 -07:00
Raymond Feng 54b874a983 Merge pull request #39 from JohnnyBill/patch-1
cannot read property of undefined fixed
2014-06-16 08:31:26 -07:00
Johnny Bill e52ae4b262 cannot read property of undefined fixed
fields seems to be undefined sometimes.
2014-06-16 12:32:29 +02:00
Raymond Feng d6dfd165d0 Merge pull request #38 from strongloop/feature/fix-comparison
Fix comparison for null and boolean values
2014-06-13 11:41:49 -07:00
Raymond Feng 99b2950dab Fix comparison for null and boolean values 2014-06-10 16:06:16 -07:00
Raymond Feng d97e05fb4a Merge pull request #37 from strongloop/feature/fix-issue-36
Map object/json to TEXT
2014-06-10 16:04:04 -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
Miroslav Bajtoš a9ba32a73f Merge tag 'v1.3.0'
1.3.0
2014-06-04 09:58:44 +02:00
Miroslav Bajtoš 879b31b915 Merge branch 'release/1.3.0' into production 2014-06-04 09:58:38 +02:00
Miroslav Bajtoš f349d4d721 v1.3.0 2014-06-04 09:58:02 +02:00
Miroslav Bajtoš e1578838d9 Merge pull request #28 from strongloop/feature/refactor-connector-base
Remove peer dependency on datasource-juggler
2014-06-04 09:56:37 +02:00
Miroslav Bajtoš b871f603b6 Remove peer dependency on datasource-juggler
Use `SqlConnector` from loopback-connector as the base class for the
MySQL connector.

Use `dataSource.modelBuilder` instead of `juggler.ModelBuilder` to
access the function for registering new schema type.

Note: the behaviour remains backwards compatible, the connector can be
used with both old 1.x and upcoming 2.x versions of
loopback-datasource-juggler.
2014-06-03 08:46:52 +02:00
Raymond Feng 3109fe7f6c Merge tag 'v1.2.3'
1.2.3
2014-06-02 11:33:44 -07:00
Raymond Feng 39445698e9 Merge branch 'release/1.2.3' into production 2014-06-02 11:33:39 -07:00
Raymond Feng fddf020bdd Bump version 2014-06-02 10:44:50 -07:00
Raymond Feng 512b460c17 Merge pull request #32 from strongloop/feature/fix-sql-injection
Fix sql injection and add test cases
2014-06-02 10:43:09 -07:00
Raymond Feng 51bf6e1034 Fix sql injection and add test cases 2014-05-30 15:15:27 -07:00
Raymond Feng 0208b082df Merge tag 'v1.2.2'
1.2.2
2014-05-29 15:48:22 -07:00
Raymond Feng da79a13887 Merge branch 'release/1.2.2' into production 2014-05-29 15:48:17 -07:00
Raymond Feng 8d657bf024 Bump version 2014-05-29 15:47:34 -07:00
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