Commit Graph

375 Commits

Author SHA1 Message Date
Raymond Feng ea51841f5e Fix MySQL conversion for embedded model instance 2014-08-20 14:25:53 -07:00
Raymond Feng 7344088cc6 Fix the createDatabase option 2014-08-19 16:36:33 -07:00
Raymond Feng 0bec94965c Merge tag 'v1.4.2'
1.4.2
2014-08-15 16:30:33 -07:00
Raymond Feng 5caccf5a1d Merge branch 'release/1.4.2' into production 2014-08-15 16:30:27 -07:00
Raymond Feng b892956575 Bump version 2014-08-15 16:29:51 -07:00
Raymond Feng e0cb119e5f Merge pull request #43 from strongloop/feature/fix-default-length
Fix the default length for strings to avoid row size overflow
2014-08-15 16:27:41 -07:00
Raymond Feng 8f62b08e70 Allow properties to pass through mysql driver
See https://github.com/strongloop/loopback-connector-mysql/issues/46
2014-08-15 16:27:12 -07:00
Raymond Feng abaabff01a Fix the default length for strings to avoid row size overflow 2014-07-08 11:23:45 -07:00
Raymond Feng 3dbd77c094 Merge tag 'v1.4.1'
1.4.1
2014-06-27 10:29:19 -07:00
Raymond Feng 34c79fba12 Merge branch 'release/1.4.1' into production 2014-06-27 10:29:13 -07:00
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