Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datetime is null in mysql #30

Open
hope1234567hope opened this issue Jan 22, 2021 · 2 comments
Open

datetime is null in mysql #30

hope1234567hope opened this issue Jan 22, 2021 · 2 comments

Comments

@hope1234567hope
Copy link

"collections": {
"class": {
"_id": "string",
"tests": "string",
"lastUpdate": "DATETIME"

in mongodb "lastUpdate" : ISODate("2019-01-03T13:01:01Z") ;
but in mysql,lastUpdate is null?why?

@ssuriyayuvan
Copy link

yeah i also face this problem. any answer you find?

@seuaCoder
Copy link

i commented the line 25 in type.js:
// if (typeof val !== 'number') return 'NULL'
Woeking now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants