drizzle-team / drizzle-team/drizzle-orm-docs

Docs still show outdated type casts on aggregation functions

Open
#203 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
241
Forks
401
Avg merge
5h 44m
Merged PRs (30d)
1

Description

After https://github.com/drizzle-team/drizzle-orm/pull/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.)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.