Commit Graph

502 Commits

Author SHA1 Message Date
Raymond Feng 9dc6353b18 Merge pull request #97 from strongloop/feature/connector-refactor
Refactor the code to use base SqlConnector
2015-05-13 12:14:21 -07:00
Raymond Feng be54c1a407 Refactor the code to use base SqlConnector 2015-05-13 10:17:15 -07:00
Raymond Feng dac6d8491f 1.7.0
* Return isNewInstance from upsert (Raymond Feng)

 * Update rc dep (Raymond Feng)

 * Return count when updating or deleting models (Simon Ho)

 * Update README.md (Simon Ho)

 * Add test running instructions to readme (Simon Ho)

 * Fix mysql neq for NULL value. (ulion)

 * replace dataLength instead of adding length property (Partap Davis)

 * Allow models backed by MySQL to reference mongodb ObjectID (Raymond Feng)

 * Query string length for schema in characters in addition to bytes (Partap Davis)
2015-04-02 08:22:10 -07:00
Raymond Feng 2a249beb77 Merge pull request #91 from strongloop/feature/fix-isNewInstance
Return isNewInstance from upsert
2015-04-02 08:20:38 -07:00
Raymond Feng f6e4c228eb Return isNewInstance from upsert 2015-04-01 16:25:23 -07:00
Simon Ho 15c21b92e6 Merge pull request #90 from strongloop/fix/return-count-when-updating-or-deleting
Return count when updating or deleting models
2015-03-26 14:57:25 -07:00
Raymond Feng a1592a55bf Update rc dep 2015-03-26 14:24:58 -07:00
Simon Ho ff538b09c8 Return count when updating or deleting models 2015-03-26 11:26:41 -07:00
Simon Ho 71fda816ba Update README.md 2015-03-17 22:27:30 -07:00
Simon Ho 77a4811903 Update README.md 2015-03-17 22:26:09 -07:00
Simon Ho 88182343b2 Merge pull request #87 from strongloop/fix/test-instructions
Add test running instructions to readme
2015-03-17 22:23:29 -07:00
Simon Ho 7536309b2d Add test running instructions to readme 2015-03-17 21:39:54 -07:00
Raymond Feng 1d2dd5e9fb Merge pull request #78 from strongloop/feature/allow-object-id
Allow models backed by MySQL to reference mongodb ObjectID
2015-03-09 15:55:43 -07:00
Raymond Feng fbe9ee078d Merge pull request #79 from partap/discovery-string-length
Query string length for schema in characters in addition to bytes
2015-03-09 15:55:24 -07:00
Raymond Feng ddb4f58c30 Merge pull request #81 from ulion/fix_neq_null
Fix neq null
2015-03-08 10:08:23 -07:00
ulion f316b8ca7d Fix mysql neq for NULL value. 2015-03-08 22:57:36 +08:00
Partap Davis 0964a2634a replace dataLength instead of adding length property 2015-03-07 20:09:10 -07:00
Raymond Feng 634a0a94bc Allow models backed by MySQL to reference mongodb ObjectID 2015-03-04 22:55:33 -08:00
Partap Davis 1ee0c2f3bb Query string length for schema in characters in addition to bytes 2015-03-02 15:10:19 -07:00
Raymond Feng dc72bb8696 1.6.0
* Update deps (Raymond Feng)

 * Include tests of persistence hooks from juggler. (Miroslav Bajtoš)
2015-02-20 17:11:00 -08:00
Raymond Feng 2422c4c6f0 Update deps 2015-02-20 16:15:15 -08:00
Miroslav Bajtoš 6988e1bdea Merge pull request #71 from strongloop/feature/run-hook-tests
Include tests of persistence hooks from juggler.
2015-02-02 19:31:25 +01:00
Miroslav Bajtoš 0e9740fc33 Include tests of persistence hooks from juggler. 2015-02-02 19:30:33 +01:00
Raymond Feng 56924b9557 Merge tag 'v1.5.1'
1.5.1

 * Fix the loop of models (Raymond Feng)

 * Set ok default to false (Geoffroy Lesage)

 * Fixed missing 'ok' (Geoffroy Lesage)

 * Changed default type mapping (Geoffroy Lesage)

 * Fixed isActual syntax to accept optional model arg (Geoffroy Lesage)

 * Fixed isActual implemenation (Geoffroy Lesage)

 * Inherit Schema From DataSource if not defined (Serkan Serttop)
2015-01-15 14:33:12 -08:00
Raymond Feng 7cb6efe454 Merge branch 'release/1.5.1' into production 2015-01-15 14:33:11 -08:00
Raymond Feng 4c46c6af2f v1.5.1 2015-01-15 14:33:09 -08:00
Raymond Feng 8b860890e8 Fix the loop of models 2015-01-15 14:21:49 -08:00
Raymond Feng 0116dbfa1c Merge pull request #69 from glesage/feature/fix-missing-ok
Fixed missing 'ok' declaration
2015-01-15 14:11:49 -08:00
Geoffroy Lesage 0772223908 Set ok default to false 2015-01-15 16:09:47 -06:00
Geoffroy Lesage 0511830a12 Fixed missing 'ok' 2015-01-15 16:08:41 -06:00
Raymond Feng adc9684ae6 Merge pull request #68 from glesage/feature/fix-default-type
Changed default type mapping
2015-01-15 14:04:14 -08:00
Geoffroy Lesage bc2dc4e6a2 Changed default type mapping 2015-01-15 15:59:50 -06:00
Raymond Feng aa157b1050 Merge pull request #63 from glesage/feature/fix-isActual
Fixed isActual implemenation
2015-01-14 14:49:24 -08:00
Raymond Feng de299aed9f Merge pull request #60 from serkanserttop/fix-inherit-schema-from-datasource
Inherit Schema From DataSource if not defined
2015-01-14 14:48:22 -08:00
Raymond Feng cd3fbd5a29 Merge tag 'v1.5.0'
1.5.0

 * Use mysql.escape/escapeId() (Raymond Feng)

 * Fix bad CLA URL in CONTRIBUTING.md (Ryan Graham)

 * (cherry picked from commit a6d31e8) (yogesh)
2015-01-09 09:21:17 -08:00
Raymond Feng a20b35edfd Merge branch 'release/1.5.0' into production 2015-01-09 09:21:16 -08:00
Raymond Feng ae989add21 v1.5.0 2015-01-09 09:21:14 -08:00
Raymond Feng 8f1b5a3de2 Merge pull request #67 from strongloop/feature/tidy-up-escaping
Use mysql.escape/escapeId()
2015-01-09 09:20:35 -08:00
Raymond Feng 7fe8306db2 Use mysql.escape/escapeId() 2015-01-09 09:02:36 -08:00
Geoffroy Lesage 9d3ab6fc42 Fixed isActual syntax to accept optional model arg 2015-01-08 10:29:55 -06:00
Raymond Feng 5b6bc9cf83 Merge pull request #54 from saggiyogesh/master
Fix for unique index when declared in fields config
2015-01-06 10:17:38 -08:00
Ryan Graham b8589545fc Fix bad CLA URL in CONTRIBUTING.md 2014-12-29 08:27:46 -08:00
Geoffroy Lesage e00b0ba8cf Fixed isActual implemenation 2014-12-23 04:06:24 -06:00
Raymond Feng d4f863d248 Merge tag 'v1.4.9'
1.4.9

 * Add a test case for autoupdate (Raymond Feng)

 * Create 'NOT NULL' constraint for required or id properties (Raymond Feng)

 * Better handle discovery of nullable columns (Raymond Feng)
2014-12-05 11:50:15 -08:00
Raymond Feng 62901a6481 Merge branch 'release/1.4.9' into production 2014-12-05 11:50:13 -08:00
Raymond Feng a72b8d09e5 v1.4.9 2014-12-05 11:50:12 -08:00
Raymond Feng 7d43fd782d Merge pull request #61 from strongloop/feature/fix-issue-604
Feature/fix issue 604
2014-12-05 11:49:09 -08:00
Raymond Feng f16a8fbafd Add a test case for autoupdate 2014-12-05 11:48:34 -08:00
Raymond Feng a82fc3f9d2 Create 'NOT NULL' constraint for required or id properties 2014-12-03 14:10:21 -08:00
Raymond Feng f9caaafe37 Better handle discovery of nullable columns 2014-12-03 14:09:52 -08:00