Google Apps Script, JDBC and MySQL does not work with Date 0000-00-00
问题 I am trying to read a MySQL db record using this simple code in Google Apps Script: function testConn(){ // make the connection var connection = Jdbc.getConnection("jdbc:mysql://" + DB.URL + ":" + DB.PORT + "/" + DB.DATABASE, DB.USERNAME, DB.PASSWORD); // perform the query var SQLstatement = connection.createStatement(); var result = SQLstatement.executeQuery("SELECT date_available FROM oc_product where model = 'B23-U57-U57'"); var colNum = result.getMetaData().getColumnCount(); while(result