You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting a DATETIME field with the value 2019-10-01 00:00:00
Then retrieve the data using the execute command: const [result] = connection.execute('SELECT * FROM my_table', [])
result will equal to '2019-10-01' instead of '2019-10-01 00:00:00' although it's a DATETIME field and not merely a DATE
note that when using query the behavior is as expected