loopback-connector-mysql/test
Carl Fürstenberg 1ee79768f2 Add special handling of zero date/time entries
Per MySQL docs
(http://dev.mysql.com/doc/refman/5.7/en/date-and-time-types.html):

  "MySQL permits you to store a “zero” value of '0000-00-00' as a
  “dummy date.” This is in some cases more convenient than using NULL
  values, and uses less data and index space. To disallow '0000-00-00',
  enable the NO_ZERO_DATE mode.

  “Zero” date or time values used through Connector/ODBC are converted
  automatically to NULL because ODBC cannot handle such values."

As we are not using Connector/ODBC we need to handle this ourself.
2016-07-29 14:59:24 +02:00
..
connection.test.js Add function connect 2016-05-12 15:56:48 -04:00
datatypes.test.js insert/update copyright notices 2016-05-03 16:52:03 -07:00
imported.test.js insert/update copyright notices 2016-05-03 16:52:03 -07:00
init.js insert/update copyright notices 2016-05-03 16:52:03 -07:00
migration.test.js Add special handling of zero date/time entries 2016-07-29 14:59:24 +02:00
mocha.opts Move mocha args to test/mocha.opts 2013-12-13 10:27:33 -08:00
mysql.autoupdate.test.js insert/update copyright notices 2016-05-03 16:52:03 -07:00
mysql.discover.test.js insert/update copyright notices 2016-05-03 16:52:03 -07:00
mysql.test.js insert/update copyright notices 2016-05-03 16:52:03 -07:00
persistence-hooks.test.js insert/update copyright notices 2016-05-03 16:52:03 -07:00
transaction.promise.test.js insert/update copyright notices 2016-05-03 16:52:03 -07:00
transaction.test.js insert/update copyright notices 2016-05-03 16:52:03 -07:00