From 5275b58e570459dfb20757bff6d2ac90f18e20f1 Mon Sep 17 00:00:00 2001 From: Justin Sprigg Date: Thu, 31 May 2018 12:49:54 +1000 Subject: [PATCH] Test dateStrings --- types/mysql/mysql-tests.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/mysql/mysql-tests.ts b/types/mysql/mysql-tests.ts index 480e7e0275..d8abfe1dcd 100644 --- a/types/mysql/mysql-tests.ts +++ b/types/mysql/mysql-tests.ts @@ -429,3 +429,5 @@ connection.query({sql: '...', values: ['test']}, (err: Error, results: any) => { connection = mysql.createConnection("mysql://localhost/test?flags=-FOUND_ROWS"); connection = mysql.createConnection({debug: true}); connection = mysql.createConnection({debug: ['ComQueryPacket', 'RowDataPacket']}); +connection = mysql.createConnection({dateStrings: ['DATE']}); +connection = mysql.createConnection({dateStrings: true});