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
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