Commit Graph

21 Commits

Author SHA1 Message Date
Raymond Feng c5d3b67bfe Fix the typo 2015-05-14 08:39:36 -07:00
Raymond Feng be54c1a407 Refactor the code to use base SqlConnector 2015-05-13 10:17:15 -07:00
Partap Davis 0964a2634a replace dataLength instead of adding length property 2015-03-07 20:09:10 -07: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 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 f9caaafe37 Better handle discovery of nullable columns 2014-12-03 14:09:52 -08:00
Serkan Serttop 78476b5a9a Inherit Schema From DataSource if not defined
If owner is not set via json in the discovery process, use the database
schema defined in the dataSource setting.
2014-11-30 02:40:41 +02:00
Raymond Feng 33b86b51b2 Fix object/json type mapping 2014-05-25 09:46:55 -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 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
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
Raymond Feng 20b9147970 Remove synchronous versions of the discovery APIs
Node.js mysql driver doesn't support sync query
2013-10-28 13:11:22 -07:00
Raymond Feng 839d7b4563 Fix the table_schema name 2013-10-22 11:45:31 -07:00
Raymond Feng 721e680bc3 Remove console.log 2013-10-08 14:03:19 -07:00
Raymond Feng 869348df09 Fix discovery of exported keys 2013-10-08 13:44:37 -07:00
Raymond Feng 6b6e9144ed Add docs for README and js code 2013-10-03 14:50:38 -07:00
Raymond Feng 24922bc98b Add precision/scale 2013-07-25 15:03:03 -07:00
Raymond Feng 4bedf2200c Add discovery test cases 2013-07-21 22:57:19 -07:00
Raymond Feng fb375fdcc8 Enable discovery 2013-07-21 10:36:26 -07:00
Raymond Feng 1329b40073 Start to add discovery 2013-07-20 23:38:40 -07:00