Skip to content

Conversation

@AWaterColorPen
Copy link

Explain your user case and expected results

For example: when we call updates method, user.update_at is "2021-02-26 20:47:16.823720459Z" .
But the UPDATE sql uses "update_at"="2021-02-26 20:47:16.824Z", and SELECT sql uses "update_at"="2021-02-26 20:47:16.823Z"

update_at is not consistent.

I think update_at should be consistent. And it should be no error for this case

@AWaterColorPen AWaterColorPen changed the title After calling Updates api, it can't find the latest data in db with update_at time After calling Create/Updates api, it can't find the latest data in db with update_at time or create_at time Feb 26, 2021
@github-actions
Copy link

github-actions bot commented Mar 6, 2021

This pull request has been automatically marked as stale because it has not been commented on for at least 7 days, if you encounter a bug in GORM, please report it at https://github.com/go-gorm/gorm/issues with the pull request's link

@github-actions github-actions bot closed this Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant