We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The bug is inside:
postgresql/lib/src/compose/insert.dart
When try to insert a DateTime in a timestamp field:
ModelAccount(13bfc209-ae58-4aa5-a340-aa444cfac1a4, 2020-09-06 22:39:15.556270, 2020-09-06 22:39:15.556271, [email protected]) Unhandled exception: PostgreSQLSeverity.error 42601: syntax error at or near "22"
So it's trying to use 2020-09-06 22:39:15.556270 as integer and crashes because of that.
} else if (val is DateTime) { return "$val"; //TODO } else if (val is bool) {
there is even // TODO the correct code is:
} else if (val is DateTime) { return "'$val'"; } else if (val is bool) {
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The bug is inside:
postgresql/lib/src/compose/insert.dart
When try to insert a DateTime in a timestamp field:
ModelAccount(13bfc209-ae58-4aa5-a340-aa444cfac1a4, 2020-09-06 22:39:15.556270, 2020-09-06 22:39:15.556271, [email protected])
Unhandled exception:
PostgreSQLSeverity.error 42601: syntax error at or near "22"
So it's trying to use 2020-09-06 22:39:15.556270 as integer and crashes because of that.
there is even // TODO
the correct code is:
The text was updated successfully, but these errors were encountered: