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

Remove useless type cast on aggregated value #39063

Merged
merged 1 commit into from
May 1, 2020

Commits on Apr 29, 2020

  1. Remove useless type cast on aggregated value

    Related rails#39039.
    
    Currently PostgreSQL adapter is the only adapter that rely on type
    casting by `result.column_types`, now the adapter can return numeric
    value without type casting by Active Record side.
    So we can remove that useless type cast on aggregated value.
    kamipo committed Apr 29, 2020
    1 Configuration menu
    Copy the full SHA
    e10765c View commit details
    Browse the repository at this point in the history