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

Docs still show outdated type casts on aggregation functions #203

Open
fnimick opened this issue Jan 8, 2024 · 0 comments
Open

Docs still show outdated type casts on aggregation functions #203

fnimick opened this issue Jan 8, 2024 · 0 comments

Comments

@fnimick
Copy link

fnimick commented Jan 8, 2024

After drizzle-team/drizzle-orm#1487 - these type casts are no longer necessary, and users should be guided to the new aggregation functions directly rather than explaining how the no-longer-necessary type casts work.

https://orm.drizzle.team/docs/select#aggregations

(yes, the function on aggregation helpers appears afterward, but this is only after the discussion on type casts from the sql count, etc functions. Ideally we could find a better example for type casting or .mapWith() than one which should never be used anymore.)

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

1 participant